// *********************************************************** //
// Developer - Sandeep Kashyap
// Date  - Nov 09, 2004
// Method description: Opens a new window and display's the file passed from flash.
// Parameters-
//  fullViewPath- Recieves the full path and name of the file to be displayed.
// *********************************************************** // 
function openPopup(fullViewPath){
 //
 var newXPos=(screen.width-610)/2;
 var newYPos=(screen.height-560)/2; 
 
 //
 bbnewwin=window.open("","BeardBoyPopup1","width=610, height=560, left="+newXPos+",top="+newYPos);
 bbnewwin.document.write("<html><head><title>Beardboy Productions</title></head><body><center><img src='"+fullViewPath+"'/></center></body></html>");
}
 
 
 
// *********************************************************** //
// Method description: Opens a new window with scrollbar and display's the file passed from flash.
// Parameters-
//  fullViewPath- Recieves the full path and name of the file to be displayed.
// *********************************************************** // 
function openPopupScroll(fullViewPath){
 //
 var newXPos=(screen.width-610)/2;
 var newYPos=(screen.height-560)/2; 
 
 //
 bbnewwin=window.open("","BeardBoyPopup2","width=610, height=560, scrollbars=yes , left="+newXPos+",top="+newYPos);
 bbnewwin.document.write("<html><head><title>Beardboy Productions</title></head><body><center><img src='"+fullViewPath+"'/></center></body></html>");
}
 

// *********************************************************** //
// Method description: Opens a new window with scrollbar and display's the file passed from flash.
// Parameters-
//  fullViewPath- Recieves the full path and name of the file to be displayed.
// *********************************************************** // 
function openFullWindow(fullViewPath){
 //
 bbnewwin=window.open(fullViewPath,"BeardBoyPopup3","");
}