// JavaScript Document

function updateNoticePad(newContent){
document.getElementById("noticePad").innerHTML=newContent;
if(newContent==""){
document.getElementById("exitButtonPic").src="images/blank.gif";
document.getElementById("exitButtonPic").height=1;
document.getElementById("exitButtonPic").width=1;
//alert("empty " + document.getElementById("exitButtonPic").src);
}
else{
document.getElementById("exitButtonPic").src="images/exit.gif";
document.getElementById("exitButtonPic").height=32;
document.getElementById("exitButtonPic").width=32;
//alert("filled " + document.getElementById("exitButtonPic").src);
}
//alert(document.getElementById("noticePad").innerHTML);
}


function PhotoNoticePad(){
document.getElementById("noticePad").innerHTML="<table width=718 border=0 cellpadding=0><tr><td width=166 rowspan=2 align=left valign=middle class=style2 ><img src=images/SGlogo.gif align=absmiddle></td><td width=546 align=left valign=top class=style2><table width=545 border=0 cellpadding=10><tr><td height=30 width=249 align=center valign=top class=style2><strong class=style2>represented photographers</strong></td><td width=250 align=center valign=top bgcolor=#CCCC99 class=style2><a href=javascript:Photo2NoticePad()><strong>rental info</strong></a></td></tr><tr><td height=70 colspan=2 class=style2><li>Jingna Zhang: <a href=javascript:openNewWindow('portfolios/Photo.html','thewin','height=400,width=770,toolbar=1,scrollbars=NO,resizable')>view portfolio</a> - personal website: <a href=javascript:openNewWindow('http://jin.zemotion.net','pwlinkJZ','height=600,width=800,toolbar=0,scrollbars=YES,resizable')>jin.zemotion.net</a></li><li>Sharad Haksar: <a href=javascript:openNewWindow('portfolios/Photo.html','thewin','height=400,width=770,toolbar=1,scrollbars=NO,resizable')>view portfolio</a> - personal website: <a href=javascript:openNewWindow('http://www.sharadhaksar.com','pwlinkSH','height=350,width=800,toolbar=0,scrollbars=YES,resizable')>www.sharadhaksar.com</a></li><li>Samo Vidic: <a href=javascript:openNewWindow('portfolios/Photo.html','thewin','height=400,width=770,toolbar=1,scrollbars=NO,resizable')>view portfolio</a> - personal website: <a href=javascript:openNewWindow('http://www.onlysamo.com','pwlinkSV','height=700,width=1024,toolbar=0,scrollbars=YES,resizable')>www.onlysamo.com</a></li><li>Nikola Borissov: <a href=javascript:openNewWindow('portfolios/Photo.html','thewin','height=400,width=770,toolbar=1,scrollbars=NO,resizable')>view portfolio</a> - personal website: <a href=javascript:openNewWindow('http://www.nikolaborissov.com','pwlinkNB','height=700,width=1024,toolbar=0,scrollbars=YES,resizable')>www.nikolaborissov.com</a></li></td></tr></table></td></tr></table>";
document.getElementById("exitButtonPic").src="images/exit.gif";
document.getElementById("exitButtonPic").height=32;
document.getElementById("exitButtonPic").width=32;
//alert(document.getElementById("noticePad").innerHTML);
}

function Photo2NoticePad(){
document.getElementById("noticePad").innerHTML="<table width=718 border=0 cellpadding=0><tr><td width=166 rowspan=2 align=left valign=middle class=style2 ><img src=images/SGlogo.gif align=absmiddle></td><td width=546 align=left valign=top class=style2><table width=545 border=0 cellpadding=10><tr><td height=30 width=250 align=center valign=top bgcolor=#CCCC99 class=style2><a href=javascript:PhotoNoticePad()><strong>represented photographers</strong></a></td><td width=249 align=center valign=top class=style2><strong class=style2>rental info</strong></td></tr><tr><td height=70 colspan=2 class=style2><li>Shooting Gallery Rental info (Printable) - zipped file ( 0.5 Mb )  &gt;&gt;&gt; <a href=pdf/LittleStudioHireInfo.zip >DOWNLOAD NOW</a></li></td></tr></td></tr></table>";
document.getElementById("exitButtonPic").src="images/exit.gif";
document.getElementById("exitButtonPic").height=32;
document.getElementById("exitButtonPic").width=32;
//alert(document.getElementById("noticePad").innerHTML);
}

function LocNoticePad(){
var hardtags = "\&nbsp\;"
document.getElementById("noticePad").innerHTML="<table width=718 border=0 cellpadding=0><tr><td width=166 align=left valign=middle class=style2 ><img src=images/SGlogo.gif align=absmiddle></td><td width=546 align=left valign=top class=style2><table width=545 border=0 cellpadding=10><tr><td width=521 height=80 class=style2><li>Shooting Gallery Rental info (Printable) - zipped file ( 0.5 Mb )  &gt;&gt;&gt; <a href=pdf/LittleStudioHireInfo.zip >DOWNLOAD NOW</a></li><li>Phantom HD Digital Highspeed Camera - Rental info &gt;&gt;&gt; <a href=javascript:openNewWindow('phantom','','height=940,width=888,toolbar=1,scrollbars=YES,resizable')>view Phantom microsite</a> </li></td></tr></table></td></tr></table>";
document.getElementById("exitButtonPic").src="images/exit.gif";
document.getElementById("exitButtonPic").height=32;
document.getElementById("exitButtonPic").width=32;
//alert(document.getElementById("noticePad").innerHTML);
}

/*function TVCDirNoticePad(){
var hardtags = "\&nbsp\;"
document.getElementById("noticePad").innerHTML="<table width=718 border=0 cellpadding=0><tr><td width=166 align=left valign=middle class=style2 ><img src=images/SGlogo.gif align=absmiddle></td><td width=546 align=left valign=top class=style2><table width=545 border=0 cellpadding=10><tr><td width=521 height=80 class=style2>The Shooting Gallery also represents the following directors: <p><i>Basil Schlegel / Ben Wee / Carr Wu / Humberto Lai / Marco Pinesi / George Muskens / Wicky Wong / Karl Von Möller / IZ Wee / Ellery Ngiam / Bertrand Lee / Chlo&euml; de Carvalho</i></p></td></tr></table></td></tr></table>";
document.getElementById("exitButtonPic").src="images/exit.gif";
document.getElementById("exitButtonPic").height=32;
document.getElementById("exitButtonPic").width=32;
//alert(document.getElementById("noticePad").innerHTML);
}
*/

function TVCDirNoticePad(){
var hardtags = "\&nbsp\;"
document.getElementById("noticePad").innerHTML="<img src=images/SGlogo.gif align=absmiddle>Full list of inhouse and represented directors &gt;&gt;&gt; <a href=javascript:openNewWindow('portfolios/TVC.html','thewin','height=400,width=770,toolbar=1,scrollbars=NO,resizable')>CLICK HERE</a>";
document.getElementById("exitButtonPic").src="images/exit.gif";
document.getElementById("exitButtonPic").height=32;
document.getElementById("exitButtonPic").width=32;
//alert(document.getElementById("noticePad").innerHTML);
}

function REELNoticePad(){
document.getElementById("noticePad").innerHTML="<img src=images/SGlogo.gif align=absmiddle>Shooting Gallery Showreel - zipped MPEG ( 86.2 Mb )  &gt;&gt;&gt; <a href=videos/corp/corp.zip >DOWNLOAD NOW</a>    |    Play with &gt; <a href=javascript:openNewWindow('http://www.youtube.com/shootinggalleryasia','YTwin','height=768,width=1024,toolbar=1,scrollbars=YES,resizable')><img src=images/youtube20x20.gif width=20 height=20 valign=middle border=0></a>";
document.getElementById("exitButtonPic").src="images/exit.gif";
document.getElementById("exitButtonPic").height=32;
document.getElementById("exitButtonPic").width=32;
}

function DirREELNoticePad(fullname, director,work){
document.getElementById("noticePad").innerHTML="<img src=images/SGlogo.gif align=absmiddle>"+fullname+" Showreel &gt;&gt;&gt; <a href=javascript:openNewWindow('portfolios/display.php?folio="+director+"&amp;work="+work+"','thewin','height=400,width=770,toolbar=1,scrollbars=NO,resizable')>CLICK HERE TO VIEW AND DOWNLOAD</a>";
document.getElementById("exitButtonPic").src="images/exit.gif";
document.getElementById("exitButtonPic").height=32;
document.getElementById("exitButtonPic").width=32;
}
