function mouseX(evt) {
if (evt.pageX) return evt.pageX;
else if (evt.clientX)
   return evt.clientX + (document.documentElement.scrollLeft ?
   document.documentElement.scrollLeft :
   document.body.scrollLeft);
else return null;
}
function mouseY(evt) {
if (evt.pageY) return evt.pageY;
else if (evt.clientY)
   return evt.clientY + (document.documentElement.scrollTop ?
   document.documentElement.scrollTop :
   document.body.scrollTop);
else return null;
}



var state = 'none';

function showhide_layer(layer_ref) {

var dd = document.getElementById(layer_ref);
AssignPosition(dd);

if (state == 'inline') {
state = 'none';
}
else {
state = 'inline';
}
if (document.all) { //IS IE 4 or 5 (or 6 beta)
eval( "document.all." + layer_ref + ".style.display = state");
}
if (document.layers) { //IS NETSCAPE 4 or below
document.layers[layer_ref].display = state;
}
if (document.getElementById && !document.all) {
maxwell_smart = document.getElementById(layer_ref);
maxwell_smart.style.display = state;
}
}

var cX = 0; var cY = 0;
function UpdateCursorPosition(e)
	{ 
	cX = mouseX(e);
	cY = mouseY(e);
	}
function UpdateCursorPositionDocAll(e)
	{ 
	cX = mouseX(event);
	cY = mouseY(event);
	}
if(document.all) { document.onmousemove = UpdateCursorPositionDocAll; }
else { document.onmousemove = UpdateCursorPosition; }
function AssignPosition(d) {
d.style.left = (cX+10) + "px";
d.style.top = (cY+10) + "px";
}

function ReverseContentDisplay(d) {
if(d.length < 1) { return; }
var dd = document.getElementById(d);
AssignPosition(dd);
if(dd.style.display == "none") { dd.style.display = ""; }
else { dd.style.display = "none"; }
}

function showImgDetail(){
 document.writeln('<TABLE cellSpacing=0 cellPadding=0 width=660 border=0>');
 document.writeln('         <TR>');
 document.writeln('           <TD class="mainWhite11">');
 document.writeln('           <CENTER>New : click on the icon'); 
 document.writeln('          <IMG SRC="http://www.x69cams.com/x69cam_enjoy/Images/DetailInfo.gif"></IMG>');
 document.writeln('           in the webcam block to view the performers profile which contains pictures !</CENTER>');
 document.writeln('			</TD>');
 document.writeln('          </TR>');
 document.writeln('  </TABLE>');
}