//onlineopinion ver:1.4.2;
var OO_NS4=(document.layers)?1:0;
var OO_IE4=(document.all)?1:0;
var OO_MAC = (navigator.appVersion.indexOf("Macintosh") > -1);
var OO_Url="../contact/";
var OO_impth="../image/contact_float/";
var OO_final = 0;
var OO_Prev=document.referrer;

if (OO_NS4) {
 var origWidth = innerWidth;
 var origHeight = innerHeight;
 var width=screen.width;
 var height=screen.height;
 IEBR="";
}
if (OO_IE4) {
 var origWidth=document.body.clientWidth;
 var origHeight=document.body.clientHeight;
 var width=screen.width;
 var height=screen.height;
 IEBR="<BR>";
}

function OO_setTimer() {
  vistimerID = setTimeout("OO_makeVisible()", 500);
}

function OO_makeVisible() {
  if (OO_IE4) ovar1.style.display = "block";
  clearTimeout(vistimerID);
  vistimerID = null;
}

function OO_Pop1() {
 if (OO_NS4) {
  ovar1_element = eval("document.ovar1");
  ovar1_element.visibility = "hide";
  ovar2_element = eval("document.ovar2");
  ovar2_element.visibility = "show";
 }
 if (OO_IE4) {
  ovar1.style.display = "none";
  ovar2.style.display = "block";
 }
}

function OO_Pop2() {
 if (OO_NS4) {
  ovar3_element = eval("document.ovar3");
  ovar3_element.visibility = "show";
 }
 if (OO_IE4) {
  ovar3.style.display = "block";
 }
}

function OO_Move(OO_x) {
 if (OO_x==1) {
 if(OO_NS4) {
  with(document.ovar1){
   left = window.innerWidth - clip.width-35;
   top = window.innerHeight - clip.height-21+self.pageYOffset;
   }
 }
 if(OO_IE4) {
  ovar1d=document.all('ovar1');
  with(document.body){
   ovar1d.style.left = clientWidth - scrollLeft-42;
   ovar1d.style.top = clientHeight + scrollTop-40;
  }
 }
 otimerID = setTimeout ("OO_Move(1)", 100);
 }
 if(OO_x==3){
  if(OO_NS4) {
   with(document.ovar2){
    left = window.innerWidth - clip.width-36;
    top = window.innerHeight - clip.height-22+self.pageYOffset;
    }
   with(document.ovar3){
    left = window.innerWidth - clip.width-55;
    top = window.innerHeight - clip.height-22+self.pageYOffset;
   }
  }
  if(OO_IE4) {
   ovar2d=document.all('ovar2');
   ovar3d=document.all('ovar3');
   with(document.body){
    ovar2d.style.left = clientWidth - scrollLeft-41;
    ovar2d.style.top = clientHeight + scrollTop-132;
    ovar3d.style.left = clientWidth - scrollLeft-161;
    ovar3d.style.top = clientHeight + scrollTop-132;
   }
  }
  otimerID = setTimeout ("OO_Move(3)", 100);
 }
}

function OO_Rdr(OO_id) {
 // Do the HREF coding here -- where to go on a click
 switch (OO_id) {
        case 1 : rdr_url = OO_Url + "address.htm";
                 break;
        case 2 : rdr_url = OO_Url + "problems.htm";
                 break;
        case 3 : rdr_url = OO_Url + "feedback.htm";
                 break;
        default : return false;
 }
 OO_hideAll();
 msgWindow=window.open(rdr_url,'Ichibaan','width=330,height=248,scrollbars,resizablescreenX='+((origWidth-330)/2)+',screenY='+((origHeight-248)/2)+',top='+((origHeight-248)/2)+',left='+((origWidth-330)/2));
}

function OO_Over(image_num) {
 over_graphic = 1;
 s="im" + image_num;
 document[s].src = OO_img[image_num+6].src;

 if (OO_NS4) {
  ovar3_element = eval("document.ovar3");
  ovar3_element.visibility = "hide";
 }
 if (OO_IE4) ovar3.style.display = "none";
 if (image_num != 6) OO_Out(6);
 over_graphic = 1;
}

function OO_Out(image_num) {
 OO_layerOut();
 s="im" + image_num;
 document[s].src = OO_img[image_num].src;
}

function OO_layerOut() {
 over_graphic = 0;
 setTimeout("OO_layerTimeout();",50);
}

function OO_layerTimeout() {
  if (over_graphic == 0) OO_hideAll();
}

function OO_hideAll() {
 over_graphic = 1;
 if (OO_NS4) {
  ovar1_element = eval("document.ovar1");
  ovar1_element.visibility = "show";
  ovar2_element = eval("document.ovar2");
  ovar2_element.visibility = "hide";
  ovar3_element = eval("document.ovar3");
  ovar3_element.visibility = "hide";
 }
 if (OO_IE4) {
  if (OO_final) ovar1.style.display = "none";
  else ovar1.style.display = "block";
  ovar2.style.display = "none";
  ovar3.style.display = "none";
 }
}

function OO_Resize(){
 if (OO_NS4) {
  if (innerWidth == origWidth && innerHeight == origHeight) return;
  origWidth = innerWidth;
  origHeight = innerHeight;
   location.reload();
 }
 if (OO_IE4) {
  if (document.body.clientWidth == origWidth && document.body.clientHeight
== origHeight) return;
  origWidth=document.body.clientWidth;
  origHeight=document.body.clientHeight;
  OO_Move(1);
  OO_Move(3);
 }

}

function OO_Go() {
 if (parseFloat(navigator.appVersion)<4 || (navigator.appName!="Microsoft Internet Explorer" && navigator.appName!="Netscape")) return;
 if (OO_MAC && OO_IE4) return;
 if (OO_NS4) window.onresize=OO_Resize;
 if (OO_IE4) onresize=OO_Resize;

 st="<STYLE TYPE='text/css'>";
 a1="show"; a2="none";

 if(OO_NS4) st+=".oparent {position:absolute; visibility:"+a1+"; z-index:1000} .ochild {position:absolute; visibility:hide; z-index:1000}";
 if(OO_IE4) st+=".oparent {display:"+a2+"; z-index:1000} .ochild {display:none; z-index:1000}";
 st+="</STYLE>";
 document.write(st); st="";


 OO_img = new Array();
  for(i=1;i<17;i++) OO_img[i]=new Image();
  for(i=1;i<6;i++) {OO_img[i].src=OO_impth+i+"up.gif";OO_img[i+6].src=OO_impth+i+"down.gif";}
  for(i=1;i<5;i++) OO_img[i+12]=OO_impth+"pop_"+i+".gif";
  OO_img[6].src=OO_impth+"quesup.gif";
  OO_img[12].src=OO_impth+"quesdown.gif";

  s1="<IMG SRC='"+OO_impth+"pop.gif' WIDTH='121' HEIGHT='110' NAME='im' BORDER='0' onMouseOver='over_graphic=1;' onMouseOut='OO_layerOut();' USEMAP='#Map'><MAP NAME='Map'><AREA SHAPE='RECT' COORDS='0,90,121,110' HREF='mailto:support@vatimpost.com' ></MAP>";
  st ="<DIV ID='ovar3' CLASS='ochild' STYLE='position:absolute;top:15%;left:95%;'>";
  st+="<TABLE CELLPADDING='0' CELLSPACING='0' BORDER='0'><TR><TD>";
  st+=s1+IEBR;
  st+="</TD></TR></TABLE></DIV>";
  document.write (st);

  s1="<A HREF='' onClick='OO_Rdr(";
  s2="); return false;' onMouseOver='OO_Over(";
  s3="); return true;' onMouseOut='OO_Out(";
  s4="); return true;'><IMG BORDER='0' src='"+OO_impth;
  s5="up.gif' NAME='im";
  st ="<DIV ID='ovar2' CLASS='ochild' STYLE='position:absolute;top:15%;left:95%;'><TABLE CELLPADDING='0' CELLSPACING='0' BORDER='0' WIDTH='19'><TR><TD>";
  st+=IEBR;
  st+=IEBR;
  st+=s1+"3"+s2+"3"+s3+"3"+s4+"3"+s5+"3' HEIGHT=18 WIDTH=19 ALT='Feedback'></A>"+IEBR;
  st+=s1+"2"+s2+"2"+s3+"2"+s4+"2"+s5+"2' HEIGHT=18 WIDTH=19 ALT='Problems'></A>"+IEBR;
  st+=s1+"1"+s2+"1"+s3+"1"+s4+"1"+s5+"1' HEIGHT=21 WIDTH=19 ALT='Address'></A>"+IEBR;
  st+="<A HREF='index.htm' onMouseOver='OO_Over(6); OO_Pop2(); return true;'  onMouseOut='OO_layerOut();' onClick='OO_Rdr(6); return false;'>";
  st+="<IMG src='"+OO_impth+"quesup.gif' NAME='im6' HEIGHT=17 WIDTH=19 ALT='' BORDER='0'></A></TD></TR></TABLE></DIV>";
  document.write (st); st="";

  st ="<DIV ID='ovar1' CLASS='oparent' STYLE='position:absolute;top:15%;left:95%;'>";
  st+="<A HREF='index.htm' onMouseOver='OO_Pop1();'><IMG src='"+OO_impth+"o.gif' ALT='Contact Us' BORDER='0' onLoad=OO_setTimer();></A></DIV>";
  document.write (st);

  OO_Move(1);
  OO_Move(3);
}
