function NoRightClick(evnt)
	{
	var msg = "Sorry, no right click!";
	if (navigator.appName.toUpperCase().match(/NETSCAPE/) != null) {
		if (evnt.which == 3) {
			alert(msg);
			return false;
		}
	} else {
		if (event.button == 2) alert(msg);
	}
}
document.onmousedown = NoRightClick;


var newWin = null;
function wo(url, w, h)
{
	if (newWin && newWin != null)
		newWin.close();
	alert(w);	
	w = w+20;
	h = h+20;
	var x = window.screen.width / 2 - w / 2;
	var y = window.screen.height/ 2 - h / 2;
	newWin = window.open(url, '_blank' ,'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width='+ w +', height='+ h + ', top='+ y +', left=' + x);
	newWin.focus();

}

var newWin = null;
function wo2(url, w, h, img)
{
	if (newWin && newWin != null)
		newWin.close();
		
	w = w+1;
	h = h+1;
	var x = window.screen.width / 2 - w / 2;
	var y = window.screen.height/ 2 - h / 2;
	alert(w);
	newWin = window.open(url, '_blank' ,'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width='+ w +', height='+ h + ', top='+ y +', left=' + x, img);
	newWin.focus();

}

function popup2(f,t,w,h) 
	{

	var content = "";
	var par = "";
	w = w;
	h = h;
	var x = window.screen.width / 2 - w / 2;
	var y = window.screen.height/ 2 - h / 2;
	wc = w - 315;
	hc = h - 14;
	
	var par = 'toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,scrollbar=no';
	var php_str = '?php $click="LADYBUGS.txt"; echo $click; ?';
	new_win = window.open('', '', 'par,width=' + w + ',height=' + h + ', top='+ y +', left=' + x);
	content ='<html><head><SCRIPT LANGUAGE="JavaScript" SRC="scripts.js"></SCRIPT><title>' + t + '</title><style type="text/css">#count {font-family: "Verdana";font-size: 8px; color: #101010; background-color: #eeeeee; border:solid thin; position: absolute; top:' + hc + '; left: ' + wc + ';}</style></head><body margin: 0px 0px; style="OVERFLOW: auto" MS_POSITIONING="FlowLayout" bgcolor=#000000 topmargin=0 leftmargin=0 bottommargin="0" rightmargin="0" marginwidth="0" marginheight="0"><a href="javascript:window.close()"><img src="' + f + '" width="' + w + '" height="' + h + '" border=0></a><DIV ID="count">Copyright © Damir Sencar SENN, Samobor, Croatia,2004 --- views: <' + php_str + '> aaa</DIV></body></html>';


	new_win.document.write(content);
	new_win.focus();
} 

function popup(f,t,w,h)
	{ 
	f = f; 
	t = t; 
	w = w; 
	h = h + 20; 
	var x = window.screen.width / 2 - w / 2; 
	var y = window.screen.height/ 2 - h / 2; 
	wc = w - 300; 
	hc = h - 14; 

	var par = 'toolbar=no, titlebar=no, location=no, directories=no, status=no, menubar=no, resizable=no, scrollbar=no'; 

	new_win = window.open('popup.php?f=' + f + '&t=' + t + '&w=' + w + '&h=' + h + '&wc=' + wc + '&hc=' + hc , '', 'par,width=' + w + ',height=' + h + ', top='+ y +', left=' + x);

} 


function MM_preloadImages() { 
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}



<!--
Image= new Image(148,390);
Image.src = "menu_photo.jpg";

Image1 = new Image(148,390);
Image1.src = "menu_best.jpg";

Image2 = new Image(148,390);
Image2.src = "menu_macro.jpg";

Image3 = new Image(148,390);
Image3.src = "menu_nature.jpg";

Image4 = new Image(148,390);
Image4.src = "menu_sport.jpg";
-->
