<!--
function newwindow(url,w,h){	
window.open(url,null,'width=' + w + ',height=' + h + ',menubar,location=no,toolbar,scrollbars,resizable');
}

function  homelink(){	
	window.open("https://www.home-link.com/login.jsp?pid=101",null,"width=700,height=600,menubar,location=no,toolbar,scrollbars,resizable");}


function schoollink(){	
	window.open("schoollink.asp",null,"width=700,height=450,menubar,location=no,toolbar,scrollbars,resizable");}


function newyorklink(){	
	window.open("newyorklink.asp",null,"width=800,height=600,menubar,location=no,toolbar,scrollbars,resizable");}


function relolink(){	
	window.open("http://www.relohomesearch.com/default.asp?coid=11873",null,"menubar,location=no,toolbar,scrollbars,resizable");}

function homesvclink()
{
	window.open("http://www.qcorpssecure.com/WebObjects/ResidentSvcs.woa/wa/cm?id=1014909",null,"width=700,height=450,menubar,location=no,toolbar,scrollbars,resizable");}

function simulatorlink(){	
	window.open("simulator.asp",null,"width=700,height=450,menubar,location=no,toolbar,scrollbars,resizable");}


function printDate(){	today = new Date 
	document.write([today.getMonth() + 1] + "/" + [today.getDate()] + "/" + [today.getYear()]) 
 }
	function gfNavOver()
	{		window.event.srcElement.style.color = "#D0B000";
		window.event.srcElement.style.cursor = "hand";
	}
	function gfNavOut()
	{
		window.event.srcElement.style.color = "white";
		window.event.srcElement.style.cursor = "default";
	}
	
function isEmpty(fld) {
	if ((fld == null) || (fld == "")) {
		return true
	}
 	return false
 }	
function popup(dest){	
	window.open(dest,null,"width=500,height=400,location=no,toolbar,scrollbars,resizable,top=0,left=0");
	}

function popmap(dest){	window.open(dest,null,"width=600,height=600,location=no,toolbar,scrollbars,resizable,top=0,left=0");}

function popflyer(dest){	window.open(dest,null,"width=700,height=400,location=no,menubar,toolbar,scrollbars,resizable,top=0,left=0");} 

function printDate(){	today = new Date 
	document.write([today.getMonth() + 1] + "/" + [today.getDate()] + "/" + [today.getYear()]) 
 }
 
function OpenWindow( url, width, height, options, name )
    {
    if ( ! width ) width = 600;
    if ( ! height ) height = 400;
    if ( ! options ) options = "scrollbars=yes,menubar=yes,toolbar=yes,location=yes,status=yes,resizable=yes";
    if ( ! name ) name = "outsideSiteWindow";

    var newWin = window.open( url, name, "width=" + width + ",height=" + height + "," + options );
    } 
    
function chgphotoopt(url){	document.location = url;}
function SubmitPage(form)
{
form.submit();
}

// this function gets the cookie, if it exists
function Get_Cookie( name ) {
	
var start = document.cookie.indexOf( name + "=" );
var len = start + name.length + 1;
if ( ( !start ) &&
( name != document.cookie.substring( 0, name.length ) ) )
{
return null;
}
if ( start == -1 ) return null;
var end = document.cookie.indexOf( ";", len );
if ( end == -1 ) end = document.cookie.length;
return unescape( document.cookie.substring( len, end ) );
}


// this deletes the cookie when called
function Delete_Cookie( name ) {
if ( Get_Cookie( name ) ) document.cookie = name + "=" +
";expires=Thu, 01-Jan-1970 00:00:01 GMT";
}

function Set_Cookie( name, value, expires ) 
{
// set time, it's in milliseconds
var today = new Date();
today.setTime( today.getTime() );

/*
if the expires variable is set, make the correct 
expires time, the current script below will set 
it for x number of days, to make it for hours, 
delete * 24, for minutes, delete * 60 * 24
*/
if ( expires )
{
expires = expires * 1000 * 60 * 60 * 24;
}
var expires_date = new Date( today.getTime() + (expires) );

document.cookie = name + "=" +escape( value ) +
( ( expires ) ? ";expires=" + expires_date.toGMTString() : "" ); 
}

function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=500,left = 340,top = 262');");
}


    
-->


