 // Function to 'activate' rollover images in a static routine.
 
function swap(img,imgsrc){
	document[img].src=[imgsrc];
}

// preload rollovers

/*

var theNav = new Array()
theNav[0] = '/nav_imgs/invest_on.gif'
theNav[1] = '/nav_imgs/news_on.gif'
theNav[2] = '/nav_imgs/contact_on.gif'
theNav[3] = '/nav_imgs/properties_on.gif'
theNav[4] = '/nav_imgs/about_on.gif'

*/


//New Window w/location

function winpop(w,h,url,winnm){
    var xpos=(screen.width)/2-(w/2);
    var ypos=(screen.height)/2-(h/2);
	var features="toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,width="+w+",height="+h+",left="+xpos+",top="+ypos+"";
	var x=window.open(url,winnm,features);
	x.focus();
}

function scrollpop(w,h,url,winnm){
    var xpos=(screen.width)/2-(w/2);
    var ypos=(screen.height)/2-(h/2);
	var features="toolbar=no,status=yes,menubar=no,location=no,scrollbars=yes,resizable=no,width="+w+",height="+h+",left="+xpos+",top="+ypos+"";
	var x=window.open(url,winnm,features);
	x.focus();
	
}
