statuss();

function statuss()
{
        window.status = ".:: Hötzendorfer Granitwerke ::.";
        setTimeout("statuss()", 1);
}

function popup(mypage, myname, w, h, scroll, menu)
{
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',menubar='+menu+',scrollbars='+scroll+',resizable=no,status=no'
win = window.open(mypage, myname, winprops);
win.window.focus();
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

function Deblur(mylink)
   {
    if (document.all)
    mylink.blur();
   }

function clearText(thefield)
   {
    if (thefield.defaultValue==thefield.value)
    thefield.value = "";
   }

function writeText(thefield)
   {
    if (thefield.value == "")
	thefield.value = thefield.defaultValue;
   }


function checkFrameset() {
  if (screen.width <=850 && parent.frame3)
     parent.top.location.href="index3.htm";
     
  if (screen.width <= 850)
   {
    if(!parent.frame1)
    location.href="index3.htm";    
   }
  else
   {
    if(!parent.frame1)
    location.href="index2.htm";
   }
  checkWidth();
 }
 
 function checkWidth()
  {
   if (screen.width <= 850)
    document.getElementsByTagName("body")[0].style.marginLeft="3"
   else
    document.getElementsByTagName("body")[0].style.marginLeft="103";
  }
 
 
 
 
 
