/***************************************************************************
               Javascript Client-side functions special for community
***************************************************************************/

function OpenBizCard(url) {   
	window.open(url, "BusinessCard","width=400,height=360,left=20,top=20, menubar=no, toolbar=no, locationbar=no, resizable=yes, status=no, dependent=no,scrollbars=yes").focus();
}

function OpenBios(url, title) {
		bios=window.open(url, title, "width=550,height=250,left=50,top=50,menubar=no,toolbar=no,locationbar=no,directories=no,resizable=yes,status=no,dependent=no,scrollbars=no"); bios.focus();
}	

function OpenTranscriptPDF(url, title) {
		transcriptPDF = window.open(url, "Transcript","width=1010,height=740,left=50,top=50, menubar=no, toolbar=no, locationbar=no, resizable=yes, status=no, dependent=no,scrollbars=yes"); transcriptPDF.focus();
}
	
function OpenTranscriptHTM(url, title) {
		transcriptHTM = window.open(url, "Transcript","width=540,height=650,left=50,top=50, menubar=no, toolbar=no, locationbar=no, resizable=yes, status=no, dependent=no,scrollbars=no"); transcriptHTM.focus();
}
	
function OpenPresentationPDF(url, title) {
		presentationPDF = window.open(url, "Presentation","width=1010,height=740,left=50,top=50, menubar=no, toolbar=no, locationbar=no, resizable=yes, status=no, dependent=no,scrollbars=yes"); presentationPDF.focus();
}

function OpenExternalURL(url, title) {
		externalURL = window.open(url, "externalURL","width=1010,height=740,left=50,top=50, menubar=no, toolbar=no, locationbar=no, resizable=yes, status=no, dependent=no,scrollbars=yes"); externalURL.focus();
}

function OpenSurvey (url, title) {
		survey = window.open(url, title, "width=845,height=610,left=50,top=50,menubar=no,toolbar=no,locationbar=no,directories=no,resizable=yes,status=no,dependent=no,scrollbars=yes"); survey.focus();
}		

function OpenContactMember(url, title) {
		presentationPDF = window.open(url, "Presentation","width=520,height=580,left=350,top=50, menubar=no, toolbar=no, locationbar=no, resizable=yes, status=no, dependent=no,scrollbars=no"); presentationPDF.focus();
}
		
function OpenPresentationPPT(url, title) {
		presentationPDF = window.open(url, "Presentation","width=540,height=656,left=50,top=50, menubar=no, toolbar=no, locationbar=no, resizable=yes, status=no, dependent=no,scrollbars=no"); presentationPDF.focus();
}
		
function OpenWebcast(url, title) {
		webcast = window.open(url, title, "width=1010,height=740,left=20,top=20,menubar=no,scrollbars=yes,toolbar=no,locationbar=no,directories=no,resizable=yes,status=no,dependent=no"); webcast.focus();
}

function OpenWebcastIFrame(url, title) {
		webcast = window.open(url, title, "width=1010,height=740,left=20,top=20,menubar=no,scrollbars=yes,toolbar=no,locationbar=no,directories=no,resizable=yes,status=no,dependent=no"); webcast.focus();
}

function OpenCustomerSuccess(url, title) {
		webcast = window.open(url, title, "width=840,height=620,left=20,top=20,menubar=no,scrollbars=yes,toolbar=no,locationbar=no,directories=no,resizable=yes,status=no,dependent=no"); webcast.focus();
}

function OpenForumsFAQ (url, title) {
		webcast = window.open(url, title, "width=540,height=450,left=50,top=50,menubar=no,toolbar=no,locationbar=no,directories=no,resizable=yes,status=no,dependent=no,scrollbars=yes"); webcast.focus();
}
function OpenDemo (url, title) {
		webcast = window.open(url, title, "width=800,height=600,left=20,top=20,menubar=no,toolbar=no,locationbar=no,directories=no,resizable=yes,status=no,dependent=no"); webcast.focus();
}
function OpenRSSHelp (url, title) {
		webcast = window.open(url, title, "width=400,height=400,left=20,top=20,menubar=no,toolbar=no,locationbar=no,directories=no,resizable=yes,status=no,dependent=no"); webcast.focus();
}

// this function to show ShowDetail page when clicking in flash film on "overview"
function calloverview(docid)
	{
		var page = "/community/ShowDetail_clean.epx?KeepThis=true&docID=" + docid + "&TB_iframe=true&height=630&width=500";
		tb_show("", page, "");
	}