﻿// JScript File

function findPosX(obj)
  {
    var curleft = 0;
    if(obj.offsetParent)
        while(1) 
        {
          curleft += obj.offsetLeft;
          if(!obj.offsetParent)
            break;
          obj = obj.offsetParent;
        }
    else if(obj.x)
        curleft += obj.x;
    return curleft;
  }

  function findPosY(obj)
  {
    var curtop = 0;
    if(obj.offsetParent)
        while(1)
        {
          curtop += obj.offsetTop;
          if(!obj.offsetParent)
            break;
          obj = obj.offsetParent;
        }
    else if(obj.y)
        curtop += obj.y;
    return curtop;
  }

function setProdMenu() {
var Ptop = (findPosY(document.getElementById("menu1")));
var Ptop2 = (findPosY(document.getElementById("menu1"))+15);
var Pleft = (findPosX(document.getElementById("menu1"))+75);
var Pleft2 = (findPosX(document.getElementById("menu1"))+75);

document.write('<STYLE type="text/css">');

if (navigator.appName=="Microsoft Internet Explorer") {
document.write('#submenu9660049_1 { position:absolute; left:' + Pleft + 'px; top:' + Ptop + 'px; visibility:hidden; }');
} else {
document.write('#submenu9660049_1 { position:absolute; left:' + Pleft2 + 'px; top:' + Ptop2 + 'px; visibility:hidden; }');
}
document.write('</style>');

}

curs = "pointer"
document.write('<STYLE type="text/css">');
if (navigator.appName=="Microsoft Internet Explorer") {
document.write('#menuspan9660049 { position:absolute; width:412px; }');
} else {
document.write('#menuspan9660049 { position:absolute; top:-15; width:412px; }');
}
document.write('#menutable9660049 { border-width: 1; border-color: #999999; border-style:solid}');
document.write('td.menucell9660049 { padding:2; padding-left:4; padding-right:4; background:#eeeeee; border:0 solid #999999;}');
document.write('#submenutable9660049 { background: #999999; border-width: 1; border-color: #999999; border-style:solid}');
document.write('td.topcell9660049 {text-decoration:none; color:#999999; font-weight: 700; font-family: Tahoma, sans-serif; font-size: 12px; font-style:normal;}');
document.write('td.topitem9660049 {text-decoration:none; color:#999999; font-weight: 700; font-family: Tahoma, sans-serif; font-size: 12px; font-style:normal; } ');
document.write('a.topitem9660049 {text-decoration:none; color:#999999; font-weight: 700; font-family: Tahoma, sans-serif; font-size: 12px; font-style:normal; } ');
document.write('a.topitem9660049:hover {text-decoration:none; color:#FFFFFF; }');
document.write('td.subitem9660049 {text-decoration:none; color:#063A7A; font-weight: 700; font-family: Tahoma, sans-serif; font-size: 12px; font-style:normal; } ');
document.write('a.subitem9660049 {text-decoration:none; color:#FFFFFF; font-weight: 700; font-family: Tahoma, sans-serif; font-size: 12px; font-style:normal; } ');
document.write('a.subitem9660049:hover {text-decoration:none; color:#FFFFFF; }');
document.write('P.MN9660049 {color:#999999; font-weight: 700; font-family: Tahoma, sans-serif; font-size:12px; font-style:normal;  }');
document.write('P.SMN9660049 {text-decoration:none; color:#FFFFFF; font-weight: 700; font-family: Tahoma, sans-serif; font-size:12px; font-style:normal;  }');


document.write('</style>');


var thisbrowser9660049
var hidetimer9660049 = null;
if(document.layers){ thisbrowser9660049='NN4'; }
if(document.all){ thisbrowser9660049='IE'; }
if(!document.all && document.getElementById){ thisbrowser9660049='NN6'; }
function showmenu9660049(menuname)
{
if(thisbrowser9660049=='NN4') document.layers[menuname].visibility = 'visible';
if(thisbrowser9660049=='IE') document.all[menuname].style.visibility = 'visible';
if(thisbrowser9660049=='NN6') document.getElementById(menuname).style.visibility = 'visible';
if(hidetimer9660049) clearTimeout(hidetimer9660049);}
function timermenu9660049()
{
if(hidetimer9660049) clearTimeout(hidetimer9660049);hidetimer9660049 = setTimeout("hideall9660049();",500);
}

function hidemenu9660049(menuname)
{
if(thisbrowser9660049=='NN4') document.layers[menuname].visibility = 'hidden';
if(thisbrowser9660049=='IE') document.all[menuname].style.visibility = 'hidden';
if(thisbrowser9660049=='NN6') document.getElementById(menuname).style.visibility = 'hidden';
}


function hilite9660049(menuitem,txt) 
{
if(typeof(currentpage9660049)!='undefined' && menuitem==currentpage9660049) return;
if(thisbrowser9660049=='IE') document.all[menuitem].style.backgroundColor = '#999999';
if(thisbrowser9660049=='IE') document.all[txt].style.color = '#FFFFFF';

if(thisbrowser9660049=='NN6') document.getElementById(menuitem).style.backgroundColor = '#999999';
if(thisbrowser9660049=='NN6') document.getElementById(txt).style.color = '#FFFFFF';

if(hidetimer9660049) clearTimeout(hidetimer9660049);}

function unhilite9660049(menuitem,txt) 
{
if(typeof(currentpage9660049)!='undefined' && menuitem==currentpage9660049) return;
if(thisbrowser9660049=='IE') document.all[menuitem].style.backgroundColor = '#eeeeee';
if(thisbrowser9660049=='IE') document.all[txt].style.color = '#063A7A';

if(thisbrowser9660049=='NN6') document.getElementById(menuitem).style.backgroundColor = '#eeeeee';
if(thisbrowser9660049=='NN6') document.getElementById(txt).style.color = '#063A7A';

if(hidetimer9660049) clearTimeout(hidetimer9660049);hidetimer9660049 = setTimeout("hideall9660049();",500);
}


function hideall9660049()
{
hidemenu9660049('submenu9660049_1');
}


function openmenu9660049(menuname)
{
showmenu9660049(menuname);
}

function openmenu9660049_0(menuname)
{
showmenu9660049(menuname);
}

document.write('<span id="menuspan9660049"><p>');

document.write('<div id="submenu9660049_1">');
document.write('<table id="submenutable9660049" width=185 cellspacing=2>');


document.write('<tr>');
document.write('<td align=LEFT class="menucell9660049" height=20 id="s9660049_1_0" onMouseOver="hilite9660049(\'s9660049_1_0\',\'item_1_0\');this.style.cursor=\'default\';" onMouseOut="unhilite9660049(\'s9660049_1_0\',\'item_1_0\')">');
document.write('<table cellspacing=0 cellpadding=0 border=0 width="100%"><tr><td width="90%" align=LEFT class="subitem9660049" onclick="window.open(\'http://www.blairsvillechamber.com\');">');
document.write('<font id="item_1_0">Union County Chamber</font>');
document.write('</td></tr></table>');
document.write('</td>');
document.write('</tr>');

document.write('<tr>');
document.write('<td align=LEFT class="menucell9660049" height=20 id="s9660049_1_1" onMouseOver="hilite9660049(\'s9660049_1_1\',\'item_1_1\');this.style.cursor=\'default\';" onMouseOut="unhilite9660049(\'s9660049_1_1\',\'item_1_1\')">');
document.write('<table cellspacing=0 cellpadding=0 border=0 width="100%"><tr><td width="90%" align=LEFT class="subitem9660049" onclick="window.open(\'http://www.blueridgemountains.com\');">');
document.write('<font id="item_1_1">Fannin County Chamber</font>');
document.write('</td></tr></table>');
document.write('</td>');
document.write('</tr>');

document.write('<tr>');
document.write('<td align=LEFT class="menucell9660049" height=20 id="s9660049_1_2" onMouseOver="hilite9660049(\'s9660049_1_2\',\'item_1_2\');this.style.cursor=\'default\';" onMouseOut="unhilite9660049(\'s9660049_1_2\',\'item_1_2\')">');
document.write('<table cellspacing=0 cellpadding=0 border=0 width="100%"><tr><td width="90%" align=LEFT class="subitem9660049" onclick="window.open(\'http://www.mountaintopga.com\');">');
document.write('<font id="item_1_2">Towns County Chamber</font>');
document.write('</td></tr></table>');
document.write('</td>');
document.write('</tr>');

document.write('<tr>');
document.write('<td align=LEFT class="menucell9660049" height=20 id="s9660049_1_3" onMouseOver="hilite9660049(\'s9660049_1_3\',\'item_1_3\');this.style.cursor=\'default\';" onMouseOut="unhilite9660049(\'s9660049_1_3\',\'item_1_3\')">');
document.write('<table cellspacing=0 cellpadding=0 border=0 width="100%"><tr><td width="90%" align=LEFT class="subitem9660049" onclick="window.open(\'http://www.claycounty-nc-chamber.com\');">');
document.write('<font id="item_1_3">Clay County Chamber</font>');
document.write('</td></tr></table>');
document.write('</td>');
document.write('</tr>');

document.write('<tr>');
document.write('<td align=LEFT class="menucell9660049" height=20 id="s9660049_1_4" onMouseOver="hilite9660049(\'s9660049_1_4\',\'item_1_4\');this.style.cursor=\'default\';" onMouseOut="unhilite9660049(\'s9660049_1_4\',\'item_1_4\')">');
document.write('<table cellspacing=0 cellpadding=0 border=0 width="100%"><tr><td width="90%" align=LEFT class="subitem9660049" onclick="window.open(\'http://www.cherokeecountychamber.com\');">');
document.write('<font id="item_1_4">Cherokee County Chamber</font>');
document.write('</td></tr></table>');
document.write('</td>');
document.write('</tr>');

document.write('</table></div>');


document.write('</span>');

document.getElementById("submenu9660049_1").style.visibility="hidden";
