   function pageurl(url)
   {               
	 window.open(url);

   } 
   
   function loadselfpage(url)
   {               
	 top.location.href=url;

   } 
   

      function load_dhtml_win(content)
   {               
	   switch(content)
	   {
	   case '1': 
	   divwin1=dhtmlwindow.open('divbox', 'div', 'content1', '', 'width=365px,height=160px,left=740px,top=260px,center=0,resize=0,scrolling=0'); 

	   break;
	   
	   case '2': 
	   divwin2=dhtmlwindow.open('divbox', 'div', 'content2', '', 'width=365px,height=205px,left=740px,top=260px,center=0,resize=0,scrolling=0'); 
	   break;
		
		case '3': 
	   divwin3=dhtmlwindow.open('divbox', 'div', 'content3', '', 'width=365px,height=180px,left=740px,top=260px,center=0,resize=0,scrolling=0'); 
	   break;
		

		case '4': 
	   divwin4=dhtmlwindow.open('divbox', 'div', 'content4', '', 'width=365px,height=205px,left=740px,top=260px,center=0,resize=0,scrolling=0'); 
	   break;
		
	   }


   } 
   
function domRollover() {
	if (navigator.userAgent.match(/Opera (\S+)/)) {
		var operaVersion = parseInt(navigator.userAgent.match(/Opera (\S+)/)[1]);
	}
	if (!document.getElementById||operaVersion <7) return;
	var imgarr=document.getElementsByTagName('img');
	var imgPreload=new Array();
	var imgSrc=new Array();
	var imgClass=new Array();
	for (i=0;i<imgarr.length;i++){
		if (imgarr[i].className.indexOf('domroll')!=-1){
			imgSrc[i]=imgarr[i].getAttribute('src');
			imgClass[i]=imgarr[i].className;
			imgPreload[i]=new Image();
			if (imgClass[i].match(/domroll (\S+)/)) {
				imgPreload[i].src = imgClass[i].match(/domroll (\S+)/)[1]
			}
			imgarr[i].setAttribute('xsrc', imgSrc[i]);
			imgarr[i].onmouseover=function(){
				this.setAttribute('src',this.className.match(/domroll (\S+)/)[1])
			}
			imgarr[i].onmouseout=function(){
				this.setAttribute('src',this.getAttribute('xsrc'))
			}
		}
	}
}
	
