function g(x){return document.getElementById(x);}function co(v,i){var c=i.style;c.opacity=v/100;c.MozOpacity=v/100;c.KhtmlOpacity=v/100;c.filter="alpha(opacity="+v+")";}function loadPage(s,p){var xmlHttp=null,f=g(p);f.innerHTML='<div style="margin:40px 0;height:200px;background:url(i/loading.gif) center no-repeat;"></div>';try{xmlHttp=new XMLHttpRequest();}catch(e){try{xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");}catch(e){xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");}}xmlHttp.onreadystatechange=function(){if(xmlHttp.readyState==4)try{if(xmlHttp.status==200){f.innerHTML=xmlHttp.responseText;}}catch(e){}};xmlHttp.open("GET",s);xmlHttp.send(null);}function nextPics(p){loadPage('media.php?viewID=1&picPageID='+p,'media');}
																																																																																																																																																																							
