<!--

function openWindow(file, width, height) {
	var left;
	var top;
	left = (screen.availWidth - width) / 2;
	top = (screen.availHeight - height) / 2;
	window.open(file, '', 'top=' + top + ' , left=' + left + ' , width=' + width + ' , height=' + height + ' , scrollbars=no');
}

function clearDefaultValue(object) {
	if ( object.defaultValue == object.value ) { 			
		object.value = '';    
	}
}

function getObject(name) {
	var object;	
	if (document.getElementById) {
		object = document.getElementById(name);
	}
	else if (document.all) {
		object = document.all[name];
	}
	else if (document.layers) {
		object = document.layers[name];
	}
	return object;
}	

function addToFavorites() {   
	var urlAddress;
   	var pageTitle;
   	urlAddress = window.location;
   	pageTitle = document.title;
  	if (window.external) {
   		window.external.AddFavorite(urlAddress,pageTitle);
  	}
  	else { 
   		alert("Sorry! Your browser doesn't support this function.");
  	}  
} 

//-->