function scrollfix(){
	var ie = (navigator.appName.indexOf ("Microsoft") != -1) ? 1 : 0;
	if (!ie)
		window.scrollTo(0,window.scrollMaxY);window.scrollTo(0,0);
} // End scrollFix

function loadPage( pn ){
	
	if( pn == 'privacy_policy' ){
		alert(global_url);
		
	} // End if
} // End if

function removeDesc( input ){

	if( input.value == 'Enter Your Own Search Word(s)...' ){
		input.value = '';
	} // End if

} // End removeDesc

function toggleDescLayer( short, long ){
	var elem, vis;
	var elem2, vis2;
	if( document.getElementById ){ // this is the way the standards work
		elem = document.getElementById( short );
		elem2 = document.getElementById( long );
	}else if( document.all ){ // this is the way old msie versions work
		elem = document.all[short];
		elem2 = document.all[long];
	}else if( document.layers ){ // this is the way nn4 works
		elem = document.layers[short];
		elem2 = document.layers[long];
	}
	vis = elem.style;
	vis2 = elem2.style;
	// if the style.display value is blank we try to figure it out here
	if( vis.display == '' && elem.offsetWidth != undefined && elem.offsetHeight != undefined ){
		vis.display = ( elem.offsetWidth != 0 && elem.offsetHeight != 0 ) ? 'block':'none';
	}
	vis.display = ( vis.display == '' || vis.display == 'block' ) ? 'none':'block';
	
	if( vis2.display == '' && elem2.offsetWidth != undefined && elem2.offsetHeight != undefined ){
		vis2.display = ( elem2.offsetWidth != 0 && elem2.offsetHeight != 0 ) ? 'block':'none';
	}	
	vis2.display = ( vis2.display == '' || vis2.display == 'block' ) ? 'none':'block';
} // End toggleDescLayer

function toggleLayer( whichLayer ){
	var elem, vis;
	if( document.getElementById ) // this is the way the standards work
		elem = document.getElementById( whichLayer );
	else if( document.all ) // this is the way old msie versions work
		elem = document.all[whichLayer];
	else if( document.layers ) // this is the way nn4 works
		elem = document.layers[whichLayer];
	vis = elem.style;
	// if the style.display value is blank we try to figure it out here
	if( vis.display == '' && elem.offsetWidth != undefined && elem.offsetHeight != undefined )
		vis.display = ( elem.offsetWidth != 0 && elem.offsetHeight != 0 ) ? 'block':'none';
	vis.display = ( vis.display == '' || vis.display == 'block' ) ? 'none':'block';
}

function toggleReadMore( read_more_div ){

	var elem, vis;
	if( document.getElementById ) // this is the way the standards work
		elem = document.getElementById( read_more_div );
	else if( document.all ) // this is the way old msie versions work
		elem = document.all[read_more_div];
	else if( document.layers ) // this is the way nn4 works
		elem = document.layers[read_more_div];
	vis = elem.style;
	// if the style.display value is blank we try to figure it out here
	if( vis.display == '' && elem.offsetWidth != undefined && elem.offsetHeight != undefined )
		vis.display = ( elem.offsetWidth != 0 && elem.offsetHeight != 0 ) ? 'block':'none';
	vis.display = ( vis.display == '' || vis.display == 'block' ) ? 'none':'block';	

} // End toggleReadMore