


<!--
function leavesite1() {
if (confirm("Please Note: You are leaving the Benicar.com Web site by opening a new Web page. Sankyo Pharma does not control the content of the Web site connected to this link.")) {

	return true;

}
return false;
}

//-->



var winChar= ""
var newWind
var newWind2
var isIE3 = (navigator.appVersion.indexOf("MSIE 3") != -1) ? true : false
function winControl(x, y, z, tool){
	//close window if open
	
	cWin(x);
	//do we see the tool bars or not
	if (tool == "tools" || tool == "tool"){winChar= "location=no,scrollbars=yes,width="+y+",height="+z+",resizable=yes,status=yes,menubar=no,toolbar=no, screen x=2, screen y=350, top=20, left=350";}
	if (tool == "search"){winChar= "location=yes,scrollbars=yes,width="+y+",height="+z+",resizable=yes,status=yes,menubar=yes,toolbar=yes, screen x=2, screen y=350, top=20, left=350";}
	else{winChar= "scrollbars=no,width="+y+",height="+z+",resizable=no,status=no,menubar=no,toolbar=no, screen x=2, screen y=350, top=2, left=350";}
	//open the new window
	if (tool == "search"){
		nWinSearch(x, y, z);
	}else{
		nWin(x, y, z);
	}
	//stop the page from changing only the pop up window
	return false;
}

function winControlC(x, y, z, tool){
	cWin(x);

	//sets up variables for centering window
	if (document.all)
	{
		var xMax = screen.width, yMax = screen.height;
	}else{
		if (document.layers){
			var xMax = window.outerWidth, yMax = window.outerHeight;
		}else{
			var xMax = 640, yMax=480;
		}
	}


var xOffset = (xMax - y)/2, yOffset = (yMax - z)/2;
//are tools turned on or off
if (tool == "tools" || tool == "tool"){winChar= "scrollbars=yes,width="+y+",height="+z+",resizable=yes,status=yes,menubar=yes,toolbar=no, screenX="+xOffset+",screenY="+yOffset+",top="+yOffset+",left="+xOffset}
else{winChar= "scrollbars=no,width="+y+",height="+z+",resizable=no,status=no,menubar=no,toolbar=no, screenX="+xOffset+",screenY="+yOffset+",top="+yOffset+",left="+xOffset}

nWin(x, y, z);
return false;
}



 
//$$$$$$$$$$$$$$$$$$$$$$$$$$$$$Character Stays Highlighted when clicking on any part of the screen

function nWin4(x,y,z,getname) {
	var winLoc = x
	var output = ""
	newWind = window.open(winLoc,"subwindow",winChar) //subwindow is the name of the new window
	// take care of Navigator 2
	if (newWind.opener == null) {
		newWind.opener = window
	}

	//newWind.document.close()//not sure why the error occurs here in IE
	
	getoffme(getname)

}

// close subwindow, including workaround for IE3
function cWin5(x) {
	var winLoc = x
	var winChar =''
	if (isIE3) {
		// if window is already open, nothing appears to happen
		// but if not, the subwindow flashes momentarily
		newWind = window.open(winLoc,"subwindow",winChar)
	}
	if (newWind && !newWind.closed) {
		newWind.close()
	}
}


function winControl4(x, y, z, tool, getname){

//close window if open
	cWin5(x);
	//sets up variables for centering window
	
	if (tool == "tools" || tool == "tool"){winChar= "location=yes,scrollbars=yes,width="+y+",height="+z+",resizable=yes,status=yes,menubar=yes,toolbar=yes, screen x=2, screen y=350, top=0, left=0";}
	else{winChar= "scrollbars=no,width="+y+",height="+z+",resizable=no,status=no,menubar=no,toolbar=no, screen x=2, screen y=350, top=0, left=0";}

	nWin4(x, y, z,getname);
	//return false;
	//stop the page from changing only the pop up window
	//return false;

}

function classReset()
{
	var coll = document.all.tags("a");
	if (coll!=null)
		{
		for (i=0; i<coll.length; i++)
		{
			if  (coll[i].className=="offme2")
			{
				coll[i].className="gray";
			}
		}
	}

}


function getoffme(getname) {
//alert(getname)
el = event.srcElement ;
if (el.getAttribute(getname) != null) {
el.className = "offme2";
}
}







//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Allows you to open a new window with different parameters while closing the old one.@@@@@@@@@@@@@@
function winControlC2(x, y, z, tool){
	cWin2(x);

	//sets up variables for centering window
	if (document.all)
	{
		var xMax = screen.width, yMax = screen.height;
	}else{
		if (document.layers){
			var xMax = window.outerWidth, yMax = window.outerHeight;
		}else{
			var xMax = 640, yMax=480;
		}
	}


var xOffset = (xMax - y)/2, yOffset = (yMax - z)/2;
//are tools turned on or off
if (tool == "tools" || tool == "tool"){winChar= "scrollbars=yes,width="+y+",height="+z+",resizable=yes,status=yes,menubar=yes,toolbar=yes, screenX="+xOffset+",screenY="+yOffset+",top="+yOffset+",left="+xOffset}
else{winChar= "scrollbars=no,width="+y+",height="+z+",resizable=no,status=no,menubar=no,toolbar=no, screenX="+xOffset+",screenY="+yOffset+",top="+yOffset+",left="+xOffset}

nWin2(x, y, z);
return false;
}

function nWin(x,y,z) {
	var winLoc = x
	var output = ""
	newWind = window.open(winLoc,"subwindow",winChar) //subwindow is the name of the new window
	// take care of Navigator 2
	if (newWind.opener == null) {
		newWind.opener = window
	}

	//newWind.document.close()//not sure why the error occurs here in IE
}

function nWinSearch(x,y,z) {
	var winLoc = x
	var output = ""
	newWind = window.open(winLoc,"subwindow2",winChar) //subwindow is the name of the new window
	// take care of Navigator 2
	if (newWind.opener == null) {
		newWind.opener = window
	}

	//newWind.document.close()//not sure why the error occurs here in IE
}

function nWin2(x,y,z) {

	
	window.close()
	
	
	
	var winLoc = x
	var output = ""
	newWind2 = window.open(winLoc,"subwindow2",winChar) //subwindow is the name of the new window
	// take care of Navigator 2
	if (newWind2.opener == null) {
		newWind2.opener = window
	}

	//newWind.document.close()//not sure why the error occurs here in IE
}
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@


// close subwindow, including workaround for IE3
function cWin(x) {
	var winLoc = x
	var winChar =''
	if (isIE3) {
		// if window is already open, nothing appears to happen
		// but if not, the subwindow flashes momentarily
		newWind = window.open(winLoc,"subwindow",winChar)
	}
	if (newWind && !newWind.closed) {
		newWind.close()
	}
}


function cWin2(x) {
	var winLoc = x
	var winChar =''
	if (isIE3) {
		// if window is already open, nothing appears to happen
		// but if not, the subwindow flashes momentarily
		newWind2 = window.open(winLoc,"subwindow2",winChar)
	}
	if (newWind2 && !newWind2.closed) {
		newWind2.close()
	}
}


//the following code needs to be inserted in the link
//<a href="../index.htm" onClick="return winControl(href, '200', '400', '');">link</a>
//or to center the window
//<a href="../index.htm" onClick="return winControlC(href, '200', '400', 'tools');">link</a>
//#hold is used to prevent the window from jumping to the top of the page
//NOTE: #hold it will show up in dreamweaver as a broken link
//if you don't want to center the window replace nWinC with nWin




