<!--

window.defaultStatus = "  |  T H E W I C O  |  INFORMATION BROKERAGE  |  MARKETING  |  CONSULTANCY";

/****************************************************************
// mouseclick-function
***************************************************************/

if (document.layers)
{
	window.captureEvents(Event.MOUSEDOWN | Event.MOUSEUP)
	window.onmousedown=rightclick;
	window.onmouseup=rightclick;
	function rightclick(e)
	{
		if (e.which == 3) 
		{
		alert("\n      |       T H E W I C O       |\nA L L   R I G H T S   R E S E R V E D   © 2 0 0 9"); 
    return false;
		}
		else
		{
		return true;
		}
	}
}

if (document.all)
{
		function click() 
		{
			if (event.button==2) 
			{
			alert("\n      |       T H E W I C O       |\nA L L   R I G H T S   R E S E R V E D   © 2 0 0 9")
			}
			if (event.button==3)
			{
			alert("\n      |       T H E W I C O       |\nA L L   R I G H T S   R E S E R V E D   © 2 0 0 9")
			}
		}
document.onmousedown=click
}

/****************************************************************
// all
***************************************************************/
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

/****************************************************************
// other
***************************************************************/

function login() {
var counter = parseFloat(document.getElementById('count').value); counter = counter + 1;
document.getElementById('count').value = parseFloat(counter); 
document.clientsform.action="index.php"; document.clientsform.submit(); 
}

function switchlayer(subj) {
  document.getElementById('sector'+subj).style.height=(document.getElementById('sector'+subj).style.height!="100%")? "100%" : "1px";
  document.getElementById('sector'+subj).style.visibility=(document.getElementById('sector'+subj).style.visibility!="visible")? "visible" : "hidden";
}
// END--> 



