////////////////////////////////////////////////////////////
//Sets the height of the Live Audio Panel
////////////////////////////////////////////////////////////
function setPanelHeight(flashHeight){
swfHeight = parseInt(flashHeight);
document.getElementById('LiveMeetingsOuter').style.height = (swfHeight)+'px';
}


////////////////////////////////////////////////////////////
//Opens a pop up window
////////////////////////////////////////////////////////////
function popWindow(location, width, height, name){
if(name==null || typeof(name)=='undefined' || name==''){
name = 'myWindow';
}
window.open(location, name, 'status = 1, height = '+height+', width= '+width+', resizable = 0' );
}


////////////////////////////////////////////////////////////
//Shows Print Dialog box
////////////////////////////////////////////////////////////
function PrintPage() {
	window.print();
}




////////////////////////////////////////////////////////////
//Shows the Rothewell Alert for RFP - add to Purchasing page
////////////////////////////////////////////////////////////
function AlerterForRFP() {
	alert("Please be advised that if you download the following Invitation to Bid, Request for Qualifications or Request for Proposals, we ask that you please print and complete the Plan Holders form, which is page 1 of the Bid Details PDF, and either e-mail it as an attachment to dklages@ci.palm-coast.fl.us or fax it to 386-986-3724. Vendors are responsible for determining and acknowledging whether any addenda have been issued. Addenda must be acknowledged in order for a bid to be considered. IT IS THE VENDOR'S RESPONSIBILITY TO CHECK THE WEBSITE PRIOR TO SUBMITTING A BID TO VERIFY ANY ADDENDA. If you have any questions, please contact Brian Rothwell or David Klages at 386-986-3730.");
}



////////////////////////////////////////////////////////////
//Gets the value of a cookie by cookie name
////////////////////////////////////////////////////////////
function getCookie(c_name) {
	if (document.cookie.length>0) {
		c_start=document.cookie.indexOf(c_name + '=');
			if (c_start!=-1) { 
				c_start=c_start + c_name.length+1;
				c_end=document.cookie.indexOf(';',c_start);
    			if (c_end==-1) { c_end=document.cookie.length; }
    			return unescape(document.cookie.substring(c_start,c_end));
			}
  	}
return '';
}

