function ShowHideByID(rowID)
{
var e = document.all(rowID);
if (e.className == "hiddenObj")
{
e.className = "visibleObj";
}
else
{
e.className = "hiddenObj";
}
}
function ShowHideByObject(e)
{
if (e.className == "hiddenObj")
{
e.className = "visibleObj";
}
else
{
e.className = "hiddenObj";
}
}


 function showcar(bil){

				//alert(""+bil+".GIF")
				document.visbil.src="img.asp?width=350&filename=pics/biler/"+bil
			}
			





function printit(){  
if (window.print) {
    window.print() ;  
} else {
    var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
    WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box    WebBrowser1.outerHTML = "";  
}
}

var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
}




