/*
        ggggggggggg
        ggggggggggg
        ggggggggggg
 gggg   gggg   gggg
 gggg   gggg   gggg
 gggg   gggg   gggg
 gggg          gggg
 gggg          gggg
 gggggggggggggggggg
 gggggggggggggggggg   
 gggggggggggggggggg    © 2000 - 2005 graphicator.com | masterscript v1.3 */

function over(his,obr){
	document.getElementById(his).src=obr;
}
	
function display(evt,id,content){
	var status;
	status=document.getElementById(id).style.display;
	var divX = evt.clientX + document.documentElement.scrollLeft || evt.clientX + window.scrollX,
        divY = evt.clientY + document.documentElement.scrollTop || evt.clientY + window.scrollY;
	if (status=='none'){
		document.getElementById(id).style.display='block';
		document.getElementById(id).style.top=''+(divY+5)+'px'
		document.getElementById(id).style.left=''+(divX+5)+'px'
		document.getElementById(id).innerHTML='<span id=\"close_help\" onclick=\"hide(\'help\');\">x</span>';
		document.getElementById(id).innerHTML+=content;
	}
	if (status=='block'){
		document.getElementById(id).style.display='none';
		document.getElementById(id).innerHTML='';
		display(evt,id,content);
	}
}

function hide(id){
document.getElementById(id).style.display='none';
document.getElementById(id).innerHTML='';
}



function show_big(img,height,idn){
	document.getElementById("big_pic").style.height=''+(height)+'px';
	document.getElementById("big_pic").innerHTML = "<a href=\"javascript:pshow('"+img+"','"+idn+"');\"><img src=\"imagethumb.php?s="+img+"&amp;w=190&amp;h="+height+"\" width=\"190\"  alt=\"img\"></a>";
}
function pshow(img,idcko) {
	window.open("prod_showpic.php?data="+img+","+idcko, "photoWin", "scrollbars=no,resize=yes,status=no,width=600,height=600");
}

function swfshow(swf,idcko) {
	window.open("prod_playswf.php?data="+swf+","+idcko, "photoWin", "scrollbars=no,resize=yes,status=no,width=600,height=600");
}

