self._menu = [ ['HOME','index.html',[]], ['AWAN','products.html',[ ['Overview','products.html'], ['Benefits','product_benefits.html'], ['Modules','product_modules.html'], ['Specifications','products2.html'], ['Downloads','product_downloads.html'], ]], ['AWARDS','awards.html',[]], ['CLIENTS','clients.html',[]], ['ABOUT US','about.html',[ ['About Us','about.html'], ['Leader in Technology','techno.html'], ['Our Values','value.html'], ['Awards','awards.html'], ['Careers','jobs.html'], ]], ['NEWS','news.html',[]] ]; //----------------- function hl(o,id,what){ if(what==1){ o.src='images/content_'+id+'.gif'; }else{ o.src='images/content_hl_'+id+'.gif'; } } //----------------- function make_top_menu(){ var t,i,s=''; var id1 = ['07','09','11','13','15',17]; var id2 = ['08','10','12','14','16','x']; for(i in _menu){ t = _menu[i]; if(self.top_menu==t[0]){ s += '' }else{ s += '' } if(id2[i]=='x'){break;} s += ''; } return s; } //----------------- function make_side_menu(){ var t,t1,i,s=''; for(i in _menu){ t = _menu[i]; if(t[0] != top_menu){continue} if(t[2].length == 0){return s}; t1 = t[2]; } for(i in t1){ t = t1[i]; if(self.side_menu==t[0]){ s += '
'+t[0]+'
' }else{ s += '
'+t[0]+'
' } } return '\
\ '+s+'\
\ '; } //----------------- function generate_page(){ document.write('\
\ \ \ \ \ \ \
\
\ \ \ \ \ \ \ \ \ \ \ \ \ \ '+make_top_menu()+' \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
\ \ \
\ '+make_side_menu()+' \ \ '+document.getElementById('div_content').innerHTML+' \
\

Copyright 2005-2009 Sqiva System. Design by \ XtremeGRAPHICS

\
\ '); } //----------------- function main(){ generate_page(); } main();