function addToFavorites(pageURL, pageTitle) { 
//remove "hhtp://" before uploading
pageURL="http://"+pageURL;
	if (window.external) {
		window.external.AddFavorite(pageURL, pageTitle)
		} 
	else { 
		alert("Your browser doesn't support this function.\nUse the browser menu to bookmark"); 
		} 
	} 

function mailThisPage(pageURL, pageTitle) {
window.open("emailthis.asp?u="+pageURL+"&t="+pageTitle,'','toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=300,height=300,top=200,left=400');
}

function printThisPage(pageURL, pageTitle) {
var urlString=pageURL.valueOf();
var length=urlString.length
var lastSlash=urlString.lastIndexOf("/")
var fileName="pf_"+urlString.substr(lastSlash+1,length)
var toPrint=window.open(fileName,'','resizable=yes,width=500,height=500,scrollbars=yes');
toPrint.window.print();
}

function popUp(folder) {
	
window.open("galleryFrame.html?folder="+folder.valueOf(),'','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=yes,width=850,height=700,top=25,left=150');
		
}


function popUpc1() {
window.open("Video.html",'','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=yes,width=450,height=330,top=150,left=280');
}

function popUpDisclaimer() {
window.open("disclaimer.html",'','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=yes,width=500,height=400,top=200,left=280');
}

function popUpHelp() {
window.open("help.asp",'','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=yes,width=500,height=400,top=150,left=280');
}

function popUpFeedback() {
window.open("feedback.html",'','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=yes,width=500,height=400,top=150,left=280');
}

function popUpKolorClix() {
window.open("KolorClix.html",'','toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=no,width=500,height=400,top=150,left=280');
}
