function page(URL,width,height,toolbar,scrollbars,location,statusbar,menubar,resizable){
//URL,widht=800,height=600,toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1
newWindow=window.open(URL,'newwin',"width="+width+",height="+height+",toolbar="+toolbar+",scrollbars="+scrollbars+",location="+location+",statusbar="+statusbar+",menubar="+menubar+",resizable="+resizable+'"');
newWindow.focus();
}

function zoom_pic(URL,TITLE,WIN_NAME,width,height,toolbar,scrollbars,location,statusbar,menubar,resizable){
//URL,widht=800,height=600,toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1
newWindow=window.open(URL,WIN_NAME,"width="+width+",height="+height+",toolbar="+toolbar+",scrollbars="+scrollbars+",location="+location+",statusbar="+statusbar+",menubar="+menubar+",resizable="+resizable+'"');
newWindow.document.write('<html><title>'+TITLE+'<\/title><head><\/head><body style="margin: 0 auto;"><img src="'+URL+'" alt="'+URL+'"><\/body><\/html>');
newWindow.document.close();
if(newWindow){newWindow.focus();}
}

function zoom_flash(URL,TITLE,WIN_NAME,width,height,toolbar,scrollbars,location,statusbar,menubar,resizable){
//URL,widht=800,height=600,toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1
newWindow=window.open(URL,WIN_NAME,"width="+width+",height="+height+",toolbar="+toolbar+",scrollbars="+scrollbars+",location="+location+",statusbar="+statusbar+",menubar="+menubar+",resizable="+resizable+'"');
newWindow.document.write('<html><title>'+TITLE+'<\/title><head><script type="text/javascript" src="swfobject.js"></script><\/head><body style="margin: 0 auto;"><table cellpadding="0" cellspacing="0"><tr><td id="flash" class="flash"><img src="pages/page5/region_big.jpg alt=""/><script type="text/javascript">function timer(){var so = new SWFObject("'+URL+'", "flash", "850", "650", "7", "#999999","high");so.addParam("scale", "noscale");so.write("flash");}setTimeout("timer()",1000);</script></td></tr></table><\/body><\/html>');
newWindow.document.close();
if(newWindow){newWindow.focus();}
}



function zpicl(pic_to_load,loading_screen,pic_info){
ID=document.getElementById('zoom_pic');
ID_1=document.getElementById('pic_info');
ID.src=loading_screen;
//LOADING=document.getElementById('loading_pic');
//LOADING.style.display="block";

load_pic= new Image();
load_pic.onload = function(){
ID.src=pic_to_load;
ID_1.innerHTML=pic_info;
//LOADING.style.display="none";
}
load_pic.src=pic_to_load;

}

/*function zoom_pic(elem_name,zoom)
{
ID=document.getElementById(elem_name);
if(zoom=='in'){alert('IN');}
if(zoom=='out'){alert('OUT');}
}*/
