var file;
function getDetails(fl,w,h){
	file=fl;
	window.open("detail.html","detailsWin","width="+w+",height="+h+",top="+((screen.height/2)-(w/2))+",left="+((screen.width/2)-(h/2))+",toolbar=no,scrollbars=yes,resizable=yes,menubar=no,status=yes,directories=no,location=no");
}

function switchImg(obj,par){
	imgName=obj.src;
	imgName=imgName.split("/");
	imgName=imgName[(imgName.length)-1];
	imgName=imgName.split(".");
	imgName=imgName[0];
	if(par==1)
		imgName=imgName+"_over.gif";
	else{
		imgName=imgName.split("_");
		imgName=imgName[0]+".gif";
	}
	obj.src="gfx/"+imgName;
}
