<!--

var XmousePosition = 0;
var YmousePosition = 0;
var newWin = false;

//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

go2link = function(url)
{
	window.location.href = url;
}

function p_zmMode() {
	fsc.zmMode();
}

//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

windowImage = function(url, w, h)
{
	var w = openWindow("", w, h);
	var u = '<a href="javascript:window.close()"><img src="'+url+'" alt="" border="0"></a>';
	var t = document.title;
	
	if(t.indexOf("#") != -1)
		t = t.substr(0, t.indexOf("#"));
	
	var str = '<html><head><title>'+t+'</title></head><body style="margin:0px;" bgcolor="#ffffff">'+u+'</body></html>';
	
	w.document.write(str);
}

//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

preload = function(imgObj, imgSrc)
{
	if(document.images)
	{
		eval(imgObj+' = new Image()');
		eval(imgObj+'.src = "'+imgSrc+'"');
	}
}

//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

chmenup = function(n, a)
{
	document.images[n].src = eval(n+"_"+a+".src");
}

//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

mousePosition = function(e)
{
	XmousePosition = (document.all)? event.clientX + document.body.scrollLeft : e.pageX ;
	YmousePosition = (document.all)? event.clientY + document.body.scrollTop : e.pageY ;
}

//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

openWindow = function(url, w, h, scrollb, res)
{
	var width = w || 700;
	var height = h || 500;
	var scrb = (scrollb == 1)? 'yes' : 'no' ;
	var resize = (res == 1)? 'yes' : 'no' ;

	var c = 'toolbar=no,menubar=no,location=no,personalbar=no,status=no,statusbar=no,directories=no,resizable='+resize+',';
	c += 'scrollbars='+scrb+',width='+width+',height='+height+',left=50,top=50';
	
	newWin = window.open(url,"newWin",c);
	
	newWin.focus();

	return newWin;
}

//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

add2favorites = function(title, url)
{
	if (window.sidebar)// Mozilla Firefox
		window.sidebar.addPanel(title, url,"");
	else if( window.external)//IE
		window.external.AddFavorite(url, title);
	else if(window.opera)// Opera
	{
	     var e = document.createElement('a');
    	 e.setAttribute('href', url);
	     e.setAttribute('title', title);
    	 e.setAttribute('rel', 'sidebar');
	     e.click();
	}
}

document.onmousemove = mousePosition;

//-->