<!-- // JavaScript functions
     // Developed by yendor Web Development (c) 2001
     // www.yendor.com.au 
//		if (document.layers) {
//			document.captureEvents(Event.MOUSEDOWN);
//		}
//		document.onmousedown = captureMousedown;
//
//function captureMousedown(evt) {
//			if (evt) {
//				mouseClick = evt.which;
//			}
//			else {
//				mouseClick = window.event.button;
//			}
//			if (mouseClick==2 || mouseClick==3) {
//				alert("No options here! \n    --oo0oo--\nby yendor Web Development\nwww.yendor.com.au");
//				return false
//			}
//}
	 
// menu functions
function menuOver(src,clrOver){ 
	if (!src.contains(event.fromElement)){ 
		src.style.cursor = 'hand'; 
		src.bgColor = clrOver; 
	} 
} 
function menuOut(src,clrIn){ 
	if (!src.contains(event.toElement)){ 
		src.style.cursor = 'default'; 
		src.bgColor = clrIn; 
	} 
} 
function menuClick(src){ 
	if(event.srcElement.tagName=='TD')
		src.children.tags('A')[0].click();
}

//FrameBuster
if (self != top) top.location.replace(self.location);

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function send_to_opener(where){
var path = ""; //URL for site to be entered here
	opener.document.location=where;
	window.close();}	
	
function JustSoPicWindow(imageName,imageWidth,imageHeight,alt,bgcolor,hugger) {
// by E Michael Brandt of ValleyWebDesigns.com - Please leave this comment intact.
	alt=alt+" -Click picture to close"
	if (bgcolor=="") {
		bgcolor="#FFFFFF";
	}
	var adj=10
	var w = screen.width;
	var h = screen.height;
	var byFactor=1;

    if(w<740){
      var lift=0.90;
    }
    if(w>=740 & w<835){
      var lift=0.91;
    }
    if(w>=835){
      var lift=0.93;
    }

	if (imageWidth>w){	
		byFactor = w / imageWidth;			
		imageWidth = w;
		imageHeight = imageHeight * byFactor;
	}
	if (imageHeight>h-adj){
		byFactor = h / imageHeight;
		imageWidth = (imageWidth * byFactor);
		imageHeight = h; 
	}
	   
	var scrWidth = w-adj;
	var scrHeight = (h*lift)-adj;

	if (imageHeight>scrHeight){
		imageHeight=imageHeight*lift;
		imageWidth=imageWidth*lift;
	}

	var posLeft=0
	var posTop=0
	
	if (hugger=="hug image") {
		posTop = (scrHeight-imageHeight)/2;
		posLeft = ((w-imageWidth)/2);
		scrHeight = imageHeight-adj;
		scrWidth = imageWidth-adj;
 	}
	winHeight = scrHeight
	imageHeight=imageHeight-adj;
	imageWidth=imageWidth-adj;

	newWindow = window.open("","newWindow","width="+scrWidth+",height="+winHeight+",left="+posLeft+",top="+posTop);
	newWindow.document.open();
	newWindow.document.write('<html><title>'+alt+'</title><body leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" bgcolor='+bgcolor+'>'); //+' onBlur="self.close()" onClick="self.close()">');  
	newWindow.document.write('<table width='+imageWidth+' border="0" cellspacing="0" cellpadding="0" align="center" height='+scrHeight+' ><tr><td>');
	newWindow.document.write('<a href="javascript:self.close()"><img src='+imageName+' width='+imageWidth+' height='+imageHeight+' alt=\"Click\&nbsp\;picture\&nbsp\;to\&nbsp\;close.\" border="0"></a>'); 
	newWindow.document.write('</td></tr></table></body></html>');	newWindow.document.close();
	newWindow.focus();
}

	
// -->
