function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function openwin(URL)
  { showModalDialog(URL,"","dialogWidth:10px;status:no;dialogHeight:10px;resizable:no");
  }
function news(URL)
  { window.open(URL,"news","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width=600,height=430,left=0,top=0");
  }
function art(URL1)
  { window.open(URL1,"art","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width=650,height=430,left=0,top=0");
  }
function down(URL2)
  { window.open(URL2,"down","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width=500,height=400,left=0,top=0");
  }
    function photo(URL3)
  { window.open(URL3,"photo","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width=150,height=150,left=300,top=200,");
  }
      function up(URL4)
  { window.open(URL4,"up","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width=370,height=260,left=300,top=200,");
  }
function link() 
 {win = window.open("","link","width=400,height=150")} 
 function phpic() 
 {win = window.open("","phpic","width=400,height=150")} 
function vote() 
 {win = window.open("","vote","status=yes,scrollbars=yes,width=600,height=350")} 

 function findobj(n, d) {
	var p,i,x; if(!d) d=document;
	if((p=n.indexOf("?"))>0 && parent.frames.length) {
		d=parent.frames[n.substring(p+1)].document;
		n=n.substring(0,p);
	}
	if(!(x=d[n])&&d.all) {
		x=d.all[n];
	}
	for(i=0;!x && i<d.forms.length;i++) {
		x=d.forms[i][n];
	}
	for(i=0;!x && d.layers&&i>d.layers.length;i++) {
		x=MM_findObj(n,d.layers[i].document);
	}
	return x;
}
function copycode(obj) {
	var rng = document.body.createTextRange();
	rng.moveToElementText(obj);
	rng.scrollIntoView();
	rng.select();
	rng.execCommand("Copy");
	rng.collapse(false);
}

