var picPath="";
function insertSWF(fileName,width,height,argument,isTransparent)
{
  var flashStr="";
  flashStr+="<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0\" width=\""+width+"\" height=\""+height+"\">";
  flashStr+="<param name=\"movie\" value=\""+fileName+argument+"\">";
  flashStr+= "<param name=\"quality\" value=\"high\">";
  flashStr+=isTransparent==true ? "<param name=\"wmode\" value=\"transparent\">" : "";
  flashStr+="<embed src=\""+fileName+argument+"\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\""+width+"\" height=\""+height+"\"></embed>";
  flashStr+="</object>";
  return flashStr;
}

function pop_detail(href,id)
{
	var screenWidth=screen.width;
	var screenHeight=screen.height;
	var pop=window.open("../pop/"+href+".jsp?id="+id,"pop","width="+screenWidth+",height="+screenHeight+",resizable=1,scrollbars=yes,left=0,top=0");
	pop.focus();
}
function pop_detail2(href,pic,name)
{
	var screenWidth=screen.width;
	var screenHeight=screen.height;
	var pop2=window.open("../pop/"+href+".jsp?pic="+pic+"&name="+name,"pop2","width="+screenWidth+",height="+screenHeight+",resizable=1,scrollbars=yes,left=0,top=0");
	pop2.focus();
}
function pop_detail3()
{
	var screenWidth=screen.width;
	var screenHeight=screen.height;
	var name="";
	var pop2=window.open("../pop/picpop.jsp?pic="+picPath+"&name="+name,"pop2","width="+screenWidth+",height="+screenHeight+",resizable=1,scrollbars=yes,left=0,top=0");
	pop2.focus();
}
function pop_info(obj,pic)
{
	picPath=pic;
	if (obj.width>200)
	{	
		obj.width=200;
		obj.style.cursor="hand";
		obj.onclick=pop_detail3;
	}
}



