var subscreen = new Array;
subscreen[1]="";
subscreen[2]="a";
subscreen[3]="b";
subscreen[4]="c";
subscreen[5]="d";
subscreen[6]="e";
subscreen[7]="f";


function OpenWindow (page) {

daughterWindow = 
window.open("","text","scrollbars=yes,resizable=no,width=380,height=420");
daughterWindow.document.writeln("<HTML>");
daughterWindow.document.writeln("<FRAMESET rows = '397, 23' frameborder='NO' border='0' framespacing='0'>");
daughterWindow.document.writeln("  <FRAMESET cols = '30, 270' frameborder='NO' border='0' framespacing='0'>");
daughterWindow.document.writeln("    <FRAME src='../blank.htm' scrolling='no' frameborder='NO' marginwidth='0' marginheight='0' name='label' noresize>");
daughterWindow.document.writeln("    <FRAME src='"+page+".htm' scrolling='auto' frameborder='NO' marginwidth='0' marginheight='0' noresize>");
daughterWindow.document.writeln("  </FRAMESET>");
daughterWindow.document.writeln("  <FRAME src='../popup_bottom.htm' scrolling='no' frameborder='NO' marginwidth='0' marginheight='0' noresize>");
daughterWindow.document.writeln("</FRAMESET>");
daughterWindow.document.writeln("</HTML>");
}



function CreateViews (section, page, numViews, closeUp, currentView) {
document.write('<img src="../images/view.gif" vspace="5"><br>');
document.write('<font color="#557bad" face="verdana,arial,helvetica,sans-serif" size="1">');
if (closeUp == 1) {numViews += 1;}
for (i = 1; i <= numViews; i++) {
  if (i == currentView) {
   if (i == numViews && closeUp == 1) {
     document.write("<b>close-up</b><br>"); }
   else {
     document.write("<b>angle #"+i+"</b><br>"); }
   }
 
  else {
   if (i == numViews && closeUp == 1) {
     document.write("<a href='"+section+page+subscreen[i]+".htm'>close-up</a><br>"); }
   else {
     document.write("<a href='"+section+page+subscreen[i]+ ".htm'>angle #" + i + "</a><br>"); }
  }
 }

document.write("</font>");
}

function ChangeBackground () {
top.topborder.document.bgColor = "#557bad";
top.leftborder.document.bgColor = "#557bad";
top.rightborder.document.bgColor = "#557bad";
top.bottomborder.document.bgColor = "#557bad";
}

function writeInputBox(Name) {
if (IE4) {
document.writeln("<INPUT class=inputStyle maxLength=40 size=30 name="+Name+">");
}
else
document.writeln("<INPUT class=inputStyle maxLength=40 size=20 name="+Name+">");
}
