
function ProjectPicture(num)
{ 
	var strPath = '../Templates/ProjectPicture.asp?DBID=' + lDatabaseID + '&LNGID=' + lLanguageID + '&FID=' + lFolderID + '&PID=' + lPageID + "&num=" +num;
	var sendToFriendWin = window.open(strPath,'PopUp','width=480,height=550,scrollbars,resizable');
	sendToFriendWin.focus();
}


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 = '../news/news_item.asp?NewsID=' +NewsID;
	var newsWin = window.open(strPath, 'NewsWin', 'width=500, height=500, scrollbars');
	newsWin.focus();
}

function viewPressItem(PressID)
{
	var strPath = '../news/press_item.asp?PressID=' +PressID;
	var PressWin = window.open(strPath, 'PressWin', 'width=500, height=500, scrollbars');
	PressWin.focus();
}

function sendToFriend() 
{ 
	var strPath = '../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 openImagesBrowser(imgID)
{
	var strPath = 'images_browser.asp?imgID=' + imgID;
	var imgBrowserWin = window.open(strPath, 'imgBrowser', 'width=800,height=500,scrollbars,resizable');
	imgBrowserWin.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();
}
function openBrowseWindow(field,type,item)
{
	var strPath = 'browseFile/Upload.asp?LNGID=1&DBID=1&field=' + field + '&type=' + type+ '&item=' + item;
	var imgBrowserWin = window.open(strPath, 'imgBrowser', 'width=300,height=150,left=300,top=200');
	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>');
	
}
