

function ProjectPicture(num)

{

        var strPath = 'UploadFiles/pgallery/'+num;

        var sendToFriendWin = window.open(strPath,'PopUp','width=476,scrollbars');



}

function ProjectPicture2(num)

{

        var strPath = '/Rosinger/Templates/ProjectPicture.asp?DBID=' + lDatabaseID + '&LNGID=' + lLanguageID + '&FID=' + lFolderID + '&PID=' + lPageID + "&num=" +num;

        var sendToFriendWin = window.open(strPath,'PopUp','width=476,scrollbars');



}



function ProjectFlash(num)

{

        var strPath = '/Rosinger/Templates/ProjectFlash.asp?DBID=' + lDatabaseID + '&LNGID=' + lLanguageID + '&FID=' + lFolderID + '&PID=' + lPageID + "&num=" +num;

        var sendToFriendWin = window.open(strPath,'PopUp','width=476,scrollbars');



}



function ProjectPicture1(num,qs)

{

        var strPath = '/Rosinger/Templates/ProjectPicture.asp?DBID=' + lDatabaseID + '&LNGID=' + lLanguageID + '&FID=' + lFolderID + '&PID=' + lPageID + "&num=" +num +"&QS=" +qs;

        var sendToFriendWin = window.open(strPath,'PopUp','width=476,scrollbars');



}



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 = '/Rosinger/news/news_item.asp?NewsID=' +NewsID;

        var newsWin = window.open(strPath, 'NewsWin', 'width=500, height=500, scrollbars');

        newsWin.focus();

}



function viewPressItem(PressID)

{

        var strPath = '/Rosinger/news/press_item.asp?PressID=' +PressID;

        var PressWin = window.open(strPath, 'PressWin', 'width=500, height=500, scrollbars');

        PressWin.focus();

}



function sendToFriend()

{

        var strPath = '/Rosinger/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();

}



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



}

