// JavaScript Document

if ((screen.width<1024) && (screen.height<768))
{
document.write("<style>")
document.write("body{background-image:url(images/background1.jpg);background-repeat:repeat-y;background-position:left;}")
document.write("a{text-decoration:none;color:#CC3333}")
document.write("h1{font-family:arial; font-size:20px; color:#990000;}")
document.write(".answ {font-size:12px;margin-right:1em;font-family:Arial}")
document.write(".text {font-size:12px;font-family:Arial}")
document.write(".nav{color:white;text-decoration:none;}")
document.write(".navb {background-color:#990000;}")
document.write(".lnav{font-size:12px;background-color:#990000;font-family:Arial;text-align:center;}")
document.write("#snav{font-size:12px;background-color:#FF3300;font-family:Arial;text-align:center;}")
document.write("h3{font-family:Arial;font-size:14px}")
document.write("h4{font-family:Arial;font-size:12px}")
document.write("p, td {font-family:Arial;font-size: 12px}")
document.write(".numres{color: #CC3333;font-weight: bold;}")
document.write(".ques{font-size:12px;background-color:#FF9900;font-weight:bold}")
document.write("</style>")
}
else if ((screen.width>1024) && (screen.height>768))
{
document.write("<style>")
document.write("body{background-image:url(images/background1.jpg);background-repeat:repeat-y;background-position:left;}")
document.write("a{text-decoration:none;color:#CC3333}")
document.write("h1{font-family:arial; font-size:26px; color:#990000;}")
document.write(".answ {font-size:14px;margin-right:1em;font-family:Arial}")
document.write(".text {font-size:14px;font-family:Arial}")
document.write(".nav{color:white;text-decoration:none;}")
document.write(".navb {background-color:#990000;}")
document.write(".lnav{font-size:12px;background-color:#990000;font-family:Arial;text-align:center;}")
document.write("#snav{font-size:12px;background-color:#FF3300;font-family:Arial;text-align:center;}")
document.write("h3{font-family:Arial;font-size:16px}")
document.write("h4{font-family:Arial;font-size:14px}")
document.write("p, td {font-family:Arial;font-size: 12px}")
document.write(".numres{color: #CC3333;font-weight: bold;}")
document.write(".ques{font-size:16px;background-color:#FF9900;font-weight:bold}")
document.write("</style>")
}
else 
{
document.write("<style>")
document.write("body{background-image:url(images/background1.jpg);background-repeat:repeat-y;background-position:left;}")
document.write("a{text-decoration:none;color:#CC3333}")
document.write("h1{font-family:arial; font-size:26px; color:#990000;}")
document.write(".answ {font-size:12px;margin-right:1em;font-family:Arial}")
document.write(".text {font-size:12px;font-family:Arial}")
document.write(".nav{color:white;text-decoration:none;}")
document.write(".navb {background-color:#990000;}")
document.write(".lnav{font-size:12px;background-color:#990000;font-family:Arial;text-align:center;}")
document.write("#snav{font-size:12px;background-color:#FF3300;font-family:Arial;text-align:center;}")
document.write("h3{font-family:Arial;font-size:16px}")
document.write("h4{font-family:Arial;font-size:14px}")
document.write("p, td {font-family:Arial;font-size: 12px}")
document.write(".numres{color: #CC3333;font-weight: bold;}")
document.write(".ques{font-size:14px;background-color:#FF9900;font-weight:bold}")
document.write("</style>")
}

