function outputEmpty(width,height,bgcolor,pos)
{
width=parseInt(width);
height=parseInt(height);
document.write("<table width="+width+" height="+height+" cellpadding=0 cellspacing=0 border=0 align="+pos+"  bgcolor="+bgcolor+">");
document.write("<tr><td  width='100%' height='100%'></td></tr>");
document.write("</table>");
}



function outputBgImg(width,height,bgImg,pos)
{
width=parseInt(width);
height=parseInt(height);
document.write("<table width="+width+" height="+height+" cellpadding=0 cellspacing=0 border=0 align="+pos+" background=images/"+bgImg+">");
document.write("<tr><td  width='100%' height='100%'></td></tr>");
document.write("</table>");
}



function turn1(x)
{
x.className='have';
}
function turn2(x)
{
x.className='noHave';
}

function turn3(x)
{
x.className='turn3_have';
}
function turn4(x)
{
x.className='turn4_noHave';
}


function displaySub(d1,sub)
{
leftop=0;
topop=0;
topop+=d1.offsetHeight;
while(d1!=null)
{
leftop+=d1.offsetLeft;
topop+=d1.offsetTop;
d1=d1.offsetParent;
}
sub.style.visibility="visible"
sub.style.pixelLeft=leftop;
sub.style.pixelTop=topop;
}

function hiddenSub(sub)
{
sub.style.visibility="hidden";
}

function turn1(x)
{
x.className='have';
}
function turn2(x)
{
x.className='noHave';
}




















