var news;
function winopen(source) {
if (news != null && !news.closed )
news.location.href = source;
else
news=window.open( source, 'Code', 'status, scrollbars=1 ,resizable=1, height=150, width=550' );
if( news.focus != null )
news.focus();
}
var occupied_header = new Array();
var occupied_menu = new Array();
for( i = 1; i <= 10; i++ ) {
occupied_header[ i ] = 0;
occupied_menu[ i ] = 0;
}
function CreateLayer( text, id, t, l ) {
if( document.layers ) {
var str="";
document.write(str);
} else if( document.getElementById || document.all ) {
var strng="
";
document.write(strng);
}
}
function Turn( id, mode ) {
if(document.layers || document.getElementById || document.all ) {
if( mode )
eval("setTimeout(\"On(" + id + ", " + mode + ");\",100)");
else
eval("setTimeout(\"Off(" + id + ", " + mode + ");\",100)");
}
occupied_header[ id ] = mode;
}
function On(id, mode){
if(occupied_header[id])
if( document.getElementById || document.all )
document.getElementById( "menu" + id ).style.visibility = 'visible';
else if( document.layers )
eval("document.layers['menu" + id + "']").visibility = "show";
}
function Off(id, mode){
if(!occupied_menu[id] && !occupied_header[id])
if( document.getElementById || document.all )
document.getElementById( "menu" + id ).style.visibility = 'hidden';
else if( document.layers )
eval("document.layers['menu" + id + "']").visibility = "hide";
}
txt = new Array();
txt[ 0] = "";
txt[ 1] = "";
txt[ 2] = "";
txt[ 3] = "";
txt[ 5] = "";
txt[ 7] = "";
txt[ 9] = "";
txt[11] = "";
CreateLayer(txt[ 0], 0, 155, 130);
CreateLayer(txt[ 1], 1, 170, 130);
CreateLayer(txt[ 2], 2, 185, 130);
CreateLayer(txt[ 3], 3, 200, 130);
CreateLayer(txt[ 5], 5, 230, 130);
CreateLayer(txt[ 7], 7, 260, 130);
CreateLayer(txt[ 9], 9, 290, 130);
CreateLayer(txt[11], 11, 320, 130);