function openWin(url) {
	var op = "width=700,height=650,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no";
	var new_window = window.open(url, "", op);
	new_window.focus();
}
function showWindow(hrefs){
	//alert(hrefs);
	window.open(hrefs,"menu","width=700,height=560,scrollbars=yes,resizable=yes");
}
function fopen1(hrefs){
	//alert(hrefs);
	subwin=window.open(hrefs,"menu","width=600,height=400,scrollbars=yes,resizable=yes");
    subwin.focus();
}
function fopen2(hrefs){
	//alert(hrefs);
	subwin=window.open(hrefs,"menu","width=760,height=530,scrollbars=yes,resizable=yes");
    subwin.focus();
}
function fopen3(hrefs){
	//alert(hrefs);
	subwin=window.open(hrefs,"menu","width=800,height=600,scrollbars=yes");
    subwin.focus();
}
function fopen4(hrefs){
	//alert(hrefs);
	subwin=window.open(hrefs,"menu","width=480,height=700,scrollbars=yes");
    subwin.focus();
}

function fopen5(hrefs){
	//alert(hrefs);
	subwin=window.open(hrefs,"menu","width=320,height=255,scrollbars=no");
    subwin.focus();
}
function setDH()
{
	theURL = "http://www.grandeco.com/";
	myLINK.setHomePage(theURL);
}

function MM_findObj(n, d) { //v4.01
  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);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function popupWindow(url,winName,w,h) {
var leftPos = (screen.width) ? (screen.width - w) / 2 - 5 : 0;
var topPos = (screen.height) ? (screen.height - h) / 2 - 28 : 0;
var features = 'width='+w+',height='+h+',left='+leftPos+',top='+topPos+',toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0';
winName = window.open(url,winName,features);
if (window.focus) { winName.focus(); }
}
