function viewPersonalInfo(PersonID)
{
	var strPath = '../about/personal_info.asp?PersonID=' +PersonID;
	var personalWin = window.open(strPath, 'PerWin', 'width=500, height=500, scrollbars');
	personalWin.focus();
}

function viewNewsItem(NewsID)
{
	var strPath = '/KavOr07/news/news_item.asp?NewsID=' +NewsID;
	var newsWin = window.open(strPath, 'NewsWin', 'width=500, height=500, scrollbars');
	newsWin.focus();
}

function viewPressItem(PressID)
{
	var strPath = '/KavOr07/news/press_item.asp?PressID=' +PressID;
	var PressWin = window.open(strPath, 'PressWin', 'width=500, height=500, scrollbars');
	PressWin.focus();
}

function sendToFriend()
{ 
	var strPath = '/KavOr07/send_to_friend/send_to_friend.asp?DBID=' + lDatabaseID + '&LNGID=' + lLanguageID;
	var sendToFriendWin = window.open(strPath,'PopUp','width=520,height=500,scrollbars,resizable');
	sendToFriendWin.focus();
}

function OpenFileBrowse(num)
{ 
	var strPath = '/KavOr07/Templates/browseFile/upload.asp?DBID=' + lDatabaseID + '&LNGID=' + lLanguageID + '&num=' + num;
	var OpenFileBrowseWin = window.open(strPath,'PopUp','width=320,height=200,scrollbars,resizable');
	OpenFileBrowseWin.focus();
}

function openImagesBrowser(imgID)
{
	var strPath = 'images_browser.asp?imgID=' + imgID;
	var imgBrowserWin = window.open(strPath, 'imgBrowser', 'width=800,height=500,scrollbars,resizable');
	imgBrowserWin.focus();
}


function OpenPictureBrowse(num)
{ 
	var strPath = '/KavOr07/Templates/browsePicture/upload.asp?DBID=' + lDatabaseID + '&LNGID=' + lLanguageID + '&num=' + num;
	var OpenPictureBrowseWin = window.open(strPath,'PopUp','width=320,height=400,scrollbars,resizable');
	OpenPictureBrowseWin.focus();
}

function openOneImage(lVI_ID, lFI_ID,lPI_ID)
{
	var strPath = 'NewsAndEvents/CorporateImages/PopUp_CorporateImages.asp?vid=' + lVI_ID + '&FID=' + lFI_ID + '&pid=' + lPI_ID;
	var imgBrowserWin = window.open(strPath, 'imgBrowser', 'width=800,height=500,scrollbars,resizable');
	imgBrowserWin.focus();
}

///////////////////////////////////////////////////// fix #investorsFrame width for IE4 - 5 browsers
if(navigator.appVersion.indexOf("MSIE 5.") != -1 || navigator.appVersion.indexOf("MSIE 4.") != -1)
{
	document.write('<style type="text/css"> #investorsFrame { width: expression(screen.width - 235) } </style>');
	
}


function makeNewWindow() {
    newWindow = window.open("/KavOr07/kavorflash.asp","","toolbar=no,scrollbars=no, resizable=no,HEIGHT=430,WIDTH=710")
}

function makeNewWindow2() {
    newWindow = window.open("/KavOr07/colon_trip.asp","","toolbar=no,scrollbars=no, resizable=no,HEIGHT=460,WIDTH=740")
}

function makeNewWindow3() {
    newWindow = window.open("/KavOr07/gastro_trip.asp","","toolbar=no,scrollbars=no, resizable=no,HEIGHT=460,WIDTH=740")
}



function makeNewWindow4() {
    newWindow = window.open("/KavOr07/coloneng.asp","","toolbar=no,scrollbars=no, resizable=no,HEIGHT=460,WIDTH=740")
}

function makeNewWindow5() {
    newWindow = window.open("/KavOr07/gastroeng.asp","","toolbar=no,scrollbars=no, resizable=no,HEIGHT=460,WIDTH=740")
}

