function picturn(picname,picurl)
{
	eval("document.images."+picname+".src='"+picurl+"'");
}

function linkturn(id,picurl,width,height)
{
	document.getElementById(id[0]).value = picurl;
  document.getElementById(id[1]).value = width;
  document.getElementById(id[2]).value = height;
}

function ImagePreload(ImagePreload) 
{ 
 document.Preload = new Array(); 
 if(document.images) 
 { 
  for(var i=0; i < ImagePreload.length; i++) 
  { 
   document.Preload[i] = new Image(); 
   document.Preload[i].src = ImagePreload[i]; 
  } 
 } 
} 

function styleturn(oname,otype,ovalue)
{
	eval("document.getElementById('"+oname+"').style."+otype+"='"+ovalue+"'");
}

function fullsizeImage(pic,height,width)
{
  pic = document.getElementById(pic).value;
  width = document.getElementById(width).value;
  height = document.getElementById(height).value;
  
  eval("window.open('fullsize.php?pic="+pic+"','fullsize','width="+width+",height="+height+",left=80,top=80');");
}
