function roll(obj, id) {
	if (typeof(obj) == "string") obj = document.getElementById(obj);
	obj.style.cursor = "pointer";
	var im = obj.src.substr(obj.src.length-5,1);
	if (id==null) (im==0) ? id = 1 : id = 0
	last = obj.src.lastIndexOf("/")+1;
	path = obj.src.substr(0,last)
	nimg = path + obj.src.substr(last,obj.src.length-5-last) + id + obj.src.substr(obj.src.length-4,4);
	obj.src = nimg;
}
function ImagePreload(imgArray) {
	for (i=0; i<document.images.length; i++) {
		if (document.images[i].onmouseover != null) {
			obj = document.images[i];
			var im = obj.src.substr(obj.src.length-5,1);
			(im==0) ? imo = 1 : imo = 0
			last = obj.src.lastIndexOf("/")+1;
			path = obj.src.substr(0,last)
			nimg = path + obj.src.substr(last,obj.src.length-5-last) + imo + obj.src.substr(obj.src.length-4,4);
			eval("var nimg_" + i + " = new Image();");
			eval("nimg_" + i + ".src = nimg;");
		}
	}
}

function _browser(str) {
	(navigator.userAgent.toLowerCase().indexOf(str)+1) ? ret = true : ret = false;
	return ret;
}
function popUp(URL) {
day = new Date();
ad = day.getTime();
eval("page" + ad + " = window.open(URL, '" + ad + "', 'toolbar=no,scrollbars=0,location=0,statusbar=0,status=0,menubar=0,resizable=0,width=330,height=250,left = 150,top = 0');");
}
function popUp1(URL) {
day = new Date();
ad = day.getTime();
eval("page" + ad + " = window.open(URL, '" + ad + "', 'toolbar=no,scrollbars=0,location=0,statusbar=0,status=0,menubar=0,resizable=0,width=330,height=250,left = 250,top = 0');");
}