// JavaScript Document
<!--
function openMinutes(docType,getDoc,winTitle){
	if (!winTitle){
		if (docType=='flash')
			winTitle = ".: Flash Document :."
		else
			winTitle = ".: PDF Document :."
	}
	var winHeight = 400;
	var winBars = "directories=no,location=no,menubar=no,titlebar=yes,toolbar=no,status=yes";
	var winSize = "scrollbars=auto,resizable=yes,width=600,height=" + winHeight;
	var winConfig = winBars + "," + winSize;
	var newWin = open("", "BoardMeetingMinutes", winConfig);
	if(newWin.closed){
		generalPopupMessage();
	}else{
		var newDoc = newWin.document;
		if (docType == 'flash'){
			newDoc.writeln("<html><head><title>" + winTitle + "</title></head><body leftmargin='0' topmargin='0' bottommargin='0' rightmargin='0'>");
			newDoc.writeln("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0' width='100%' height='100%'>");
			newDoc.writeln("<param name='movie' value='docs/" + getDoc + ".swf'>");
			newDoc.writeln("<param name='quality' value='high'>");
			newDoc.writeln("<embed src='docs/" + getDoc + ".swf' quality='high' pluginspage='http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='100%' height='99%'></embed></object></noscript>");
			newDoc.writeln("</body></html>");
		}else{
			newDoc.writeln("<html><head><title>" + winTitle + "</title><link href='vph-design.css' rel='stylesheet' type='text/css'>");
			newDoc.writeln("<meta http-equiv='refresh' content='5;URL=docs/" + getDoc + ".pdf'></head><body leftmargin='0' topmargin='0' bottommargin='0' rightmargin='0'>");
			newDoc.writeln("<table width='100%' height='" + winHeight + "' border='0' cellpadding='0' cellspacing='0'><tr><td align='center'>");
			newDoc.writeln("<p><strong>Please Wait...</strong><br>The PDF document is being retrieved.<br><br>Make sure you have Adobe Acrobat Reader<br>installed on your system to view this PDF.<br>You can get Adobe Acrobat Reader by<br>clicking on the link below:</p>");
			newDoc.writeln("<p><a href='http://www.adobe.com/products/acrobat/readstep2.html' target='_blank'><img src='images/get_adobe_reader.gif' alt='Get Adobe Reader' border='0'></a></p>");
			newDoc.writeln("</td></tr></table></body></html>");
			newWin = open("docs/" + getDoc + ".pdf","BoardMeetingMinutes");
		}
	}
}

function generalPopupMessage(){
	window.alert("We are unable to provide you the document you've requested! \n\nPossible Cause:\nIf you have a Pop-up Blocker either add this site to the \n“Allowed Sites” list or temporarily disable it.");
}

//-->
