﻿function DisplayDocument()
{
	var planDocumentSelectListId = document.getElementById("planDocumentsList");
	var planDocument = planDocumentSelectListId.options[planDocumentSelectListId.selectedIndex].value;
	var fullDocumentLocationPath = window.location.protocol+"//"+window.location.host+"/Plan%20Documents/"+planDocument+".pdf";
	window.open(fullDocumentLocationPath,"",'height=700,width=800');
	//http://cybwin15:8091/Plan%20Documents/2011-BeneScriptPreferredDrugList.pdf
	//alert(window.location.protocol+"//"+window.location.host+"/Plan%20Documents/"+planDocument+".pdf");
	//alert(planDocument);
}

