
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();
}



///////////////////////////////////////////////////// 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>');
	
}
