<?php
if(!$IWEB_SHOP_IN) {
	die('Hacking attempt');
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type"	content="text/html;	charset=utf-8" />
<title></title>
<style type="text/css">
body {
	margin:	0;
	padding: 0;
	background:	#E5E5E5;
	cursor:	E-resize;
}
</style>
<script	type="text/javascript" language="JavaScript">
<!--

function toggleMenu()
{
	frmBody	= parent.document.getElementById('frame-body');
	imgArrow = document.getElementById('img');

	if (frmBody.cols ==	"0, 10, *")
	{
		frmBody.cols="180, 10, *";
		imgArrow.src = "skin/images/arrow_left.gif";
	}
	else
	{
		frmBody.cols="0, 10, *";
		imgArrow.src = "skin/images/arrow_right.gif";
	}
}

var	orgX = 0;
document.onmousedown = function(e)
{
	var	evt	= Utils.fixEvent(e);
	orgX = evt.clientX;

	if (Browser.isIE) document.getElementById('tbl').setCapture();
}

document.onmouseup = function(e)
{
	var	evt	= Utils.fixEvent(e);

	frmBody	= parent.document.getElementById('frame-body');
	frmWidth = frmBody.cols.substr(0, frmBody.cols.indexOf(','));
	frmWidth = (parseInt(frmWidth) + (evt.clientX -	orgX));

	frmBody.cols = frmWidth	+ ", 10, *";

	if (Browser.isIE) document.releaseCapture();
}

var	Browser	= new Object();

Browser.isMozilla =	(typeof	document.implementation	!= 'undefined')	&& (typeof document.implementation.createDocument != 'undefined') && (typeof HTMLDocument != 'undefined');
Browser.isIE = window.ActiveXObject	? true : false;
Browser.isFirefox =	(navigator.userAgent.toLowerCase().indexOf("firefox") != - 1);
Browser.isSafari = (navigator.userAgent.toLowerCase().indexOf("safari")	!= - 1);
Browser.isOpera	= (navigator.userAgent.toLowerCase().indexOf("opera") != - 1);

var	Utils =	new	Object();

Utils.fixEvent = function(e)
{
	var	evt	= (typeof e	== "undefined")	? window.event : e;
	return evt;
}
//-->
</script>
</head>
<body onselect="return false;">
<table height="100%" cellspacing="0" cellpadding="0" id="tbl">
	<tr><td><a href="javascript:toggleMenu();"><img	src="skin/images/arrow_left.gif" width="10"	height="30"	id="img" border="0"	/></a></td></tr>
</table>
</body>
</html>