//var ie4 = document.all ;
var ns4 = document.layers ;
var stage ;

if ( ns4 ) 
{
stage = "document.write('<ilayer id=mainFrame name=mainFrame width=100 height=100 scrolling=no frameborder=0></ilayer>') ; " ;
} else
{
stage = "document.write('<iframe id=mainFrame name=mainFrame width=100 src=pages/home.htm height=100 scrolling=no frameborder=0></iframe>') ; " ;
//window.external.AddFavorite("http://www.smartwebonline.com","Elshayal Smart Web On Line Software")
}

function MamaOvrBtn(line)
{
eval("document.getElementById('" + line + "').style.textDecoration = 'underline'") ;
eval("document.getElementById('" + line + "').style.fontWeight = 'bold'") ;
}
function MamaNrmBtn(line)
{
eval("document.getElementById('" + line + "').style.textDecoration = 'none'") ;
eval("document.getElementById('" + line + "').style.fontWeight = 'normal'") ;
}
function MamaClkBtn(line)
{
document.getElementById('BUTTON01').style.backgroundColor = normBackground ;
document.getElementById('BUTTON01').style.color = normColor ;
document.getElementById('BUTTON02').style.backgroundColor = normBackground ;
document.getElementById('BUTTON02').style.color = normColor ;
document.getElementById('BUTTON03').style.backgroundColor = normBackground ;
document.getElementById('BUTTON03').style.color = normColor ;
document.getElementById('BUTTON04').style.backgroundColor = normBackground ;
document.getElementById('BUTTON04').style.color = normColor ;
document.getElementById('BUTTON05').style.backgroundColor = normBackground ;
document.getElementById('BUTTON05').style.color = normColor ;
document.getElementById('BUTTON06').style.backgroundColor = normBackground ;
document.getElementById('BUTTON06').style.color = normColor ;
document.getElementById('BUTTON07').style.backgroundColor = normBackground ;
document.getElementById('BUTTON07').style.color = normColor ;
document.getElementById('BUTTON08').style.backgroundColor = normBackground ;
document.getElementById('BUTTON08').style.color = normColor ;
document.getElementById('BUTTON09').style.backgroundColor = normBackground ;
document.getElementById('BUTTON09').style.color = normColor ;
document.getElementById('BUTTON10').style.backgroundColor = normBackground ;
document.getElementById('BUTTON10').style.color = normColor ;
eval("document.getElementById('" + line + "').style.backgroundColor = '" + clickBackground + "'") ;
eval("document.getElementById('" + line + "').style.color = '" + clickColor + "'") ;
}
document.body.link = '#0000FF' ;
document.body.aLink = '#0000FF' ;
document.body.vLink = '#0000FF' ;
var normColor =  '#0000FF' ;
var	normBackground = '#CCFF99' ;
var clickColor =  '#0000FF' ;
var clickBackground = '#E0E0E0' ;