var IE = document.all?true:false;
var xcord,ycord;

function createCookie(name,value,days) {
	if (days) {
		var date = new Date();
		date.setTime(date.getTime()+(days*24*60*60*1000));
		var expires = "; expires="+date.toGMTString();
	}
	else var expires = "";
	document.cookie = name+"="+value+expires+"; path=/";
}

function readCookie(name) {
	var nameEQ = name + "=";
	var ca = document.cookie.split(';');
	for(var i=0;i < ca.length;i++) {
		var c = ca[i];
		while (c.charAt(0)==' ') c = c.substring(1,c.length);
		if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
	}
	return null;
}

function eraseCookie(name) {
	createCookie(name,"",-1);
}

function open_manage_subscription(){
   eraseCookie('cookie1');
   createCookie('cookie1','testcookie',7);
   window.open('https://www.brilliantconnections.com/manage_tools.php?dashbord=1','manage_tools','width=920,height=720,scrollbars=yes,fullscreen=no');
}


function getXY(e) {
  if (IE) { // grab the x-y pos.s if browser is IE
    xcord = event.clientX + document.body.scrollLeft
    ycord = event.clientY + document.body.scrollTop
  }else{
  xcord = (window.Event) ? e.pageX : event.clientX;
  ycord = (window.Event) ? e.pageY : event.clientY;	
 }
}	
function hideElement (element) {
 document.getElementById("aboutid").style.background      =  '#f7f7f7';
  document.getElementById("aboutid").style.color      =  '#666666';
 
 if (element.style) {
  element.style.visibility = 'hidden';
 }
 }

 function showElement (element) {
  if (element.style) {
   element.style.visibility = 'visible';
  }
 }

 function mouseLeaves (element, evt) {
  if (typeof evt.toElement != 'undefined' && evt.toElement && typeof
   element.contains != 'undefined') {
   return !element.contains(evt.toElement);
  }else if (typeof evt.relatedTarget != 'undefined' && evt.relatedTarget) {
   return !contains(element, evt.relatedTarget);
  }
 }

 function contains (container, containee) {
  while (containee) {
   if (container == containee) {
   return true;
  }
containee = containee.parentNode;
}
return false;
}
    function MM_swapImgRestore() { //v3.0
     var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    }

    function MM_preloadImages() { //v3.0
     var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
     var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
     if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    }

    function MM_findObj(n, d) { //v4.01
     var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
     d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
     if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
     for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
     if(!x && d.getElementById) x=d.getElementById(n); return x;
    }

    function MM_swapImage() { //v3.0
     var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
     if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    }
   
    function MM_reloadPage(init) {  //reloads the window if Nav4 resized
     if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
      document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
     else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
    }
    
    MM_reloadPage(true);
    
    //Used For about menu link
    function menuchange(filename){
   var DIR_WS_CATALOG_STYLE = "/css/";
   var DIR_WS_CATALOG_JS = "/js/";
   var DIR_WS_CATALOG = "/";
   var DIR_FS_INCLUDES = "/home/brill15/public_html/includes/";
   var html = '';
    if(filename == '/about_div'){
        //html += '<?php include_once "includes/config.php"; ?>';
        html += '<html>';
        html += '<head>';
        html += '<title>Brilliant Connections</title>';
        html += '<link href="'+DIR_WS_CATALOG_STYLE+'stylesheet1.css" rel="stylesheet" type="text/css">';
        html += '<script language="JavaScript" src="'+DIR_WS_CATALOG_JS+'common_scripts_new.js"></script>';
        html += '<style type="text/css">';
        html += '<!--';
        html += '.style1 {font-family: Arial, Helvetica, sans-serif}';
        html += '.style3 {font-family: Arial, Helvetica, sans-serif;font-size: 16px;font-weight: bold;color: #ff9900;}';
        html += '-->';
        html += '</style>';
        html += '</head>';
        html += '<body>';
        html += '<table cellspacing="0" cellpadding="0" border="0" width="100%" align="right" bgcolor="#6f6f6f">';
        html += '<tr>';
        html += '<td>';
        html += '<table cellspacing="0" cellpadding="0" border="0" width="100%" align="right" >';
        html += '<tr>';
        html += '<td>';
        html += '<table cellspacing="2" cellpadding="0" border="0" width="100%">';
        html += '<tr height="32">';
        html += '  <td width="34%">';
        html += '    <div style="font-size: 11pt; font-family: Arial, Helvetica, sans-serif;color: #FF9933; font-weight:bold;" align="center"> </div></td>';
        html += '  <td>&nbsp;</td>';
        html += '  <td width="66%" align="center"><span class="style1"> &nbsp;&nbsp;<span class="style3">About Us </span></span></td>';
        html += '</tr>';
        html += '<tr>';
        html += '  <td valign="top"><table width="100%"  border="0" cellspacing="6" cellpadding="0">';
        html += '      <tr>';
        html += '        <td valign="top"><div align="right" class="popupcontent_whitesmallnew"  onMouseover=\'menuchange("'+DIR_WS_CATALOG+'overview_div");\'>An Overview </div></td>';
        html += '      </tr>';
        html += '      <tr>';
        html += '        <td valign="top"><div align="right" class="popupcontent_orangesmall" onMouseover=\'menuchange("'+DIR_WS_CATALOG+'about_div");\'>About Us </div></td>';
        html += '      </tr>';
        html += '      <tr>';
        html += '        <td valign="top"><div align="right" class="popupcontent_whitesmallnew" onMouseover=\'menuchange("'+DIR_WS_CATALOG+'leader_div");\'>Leadership</div></td>';
        html += '      </tr>';
        html += '      <tr>';
        html += '        <td valign="top"><div align="right" class="popupcontent_whitesmallnew" onMouseover=\'menuchange("'+DIR_WS_CATALOG+'networking_div");\'>Value Of Networking </div></td>';
        html += '      </tr>';
        html += '      <tr>';
        html += '        <td valign="top"><div align="right" class="popupcontent_whitesmallnew" onMouseover=\'menuchange("'+DIR_WS_CATALOG+'vision_div");\'>Our Vision </div></td>';
        html += '      </tr>';
        html += '  </table></td>';
        html += '  <td></td>';
        html += '  <td valign="top">';
        html += '    <table width="100%"  border="0" cellspacing="2" cellpadding="0" >';
        html += '      <tr>';
        html += '       <td valign="top" class="popupcontent_whitesmallnewpointer" ><div id="textchange" align="left" style="margin-left:5px" class="popupcontent_whitesmallnewpointer">Brilliant Connections was started by sales professionals and one of the industries fastest growing digital marketing companies. Through extensive research, we found that there does not exist a service for sales professionals that provides the flexibility, cost, and capability to generate and track sales leads. We have set out to provide the industries first business professional networking site that allows sales professionals to both network, generate sales leads.</div></td>';
        html += '      </tr>';
        html += '  </table></td>';
        html += '</tr>';
        html += '<tr>';
        html += '<td height="35">&nbsp;</td>';
        html += '</tr>';
        html += '</table>';
        html += '</td>';
        html += '</tr>';
        html += '<tr>';
        html += '<td  bgcolor="#E0842A">';
        html += '<table width="40%"  border="0" align="right" cellpadding="0" cellspacing="0">';
      	html += '<tr><td width="100%" class="popupcontent_whitesmall" align="right">';
        html += '  <div><a onClick="learnfileprofile("'+DIR_WS_CATALOG+'profile.php");" style="cursor:pointer;text-decoration:none"><span class="popupcontent_whitesmall">Update your Profile &lt; </span></a></div>';
        html += '  <div><a onClick="learnfileprofile("index.php");" style="cursor:pointer;text-decoration:none"><span class="popupcontent_whitesmall">People are Talking &lt; <span></a></div>';
        html += '  <div><a onClick="learnfileprofile("value_of_networking.php");" style="cursor:pointer;text-decoration:none"><span class="popupcontent_whitesmall">Expand your Network &lt; </span></a></div>';
        html += '  </td>';
      	html += '<td width="5%">&nbsp;</td>';
      	html += '</tr>';
        html += '</table>';
        html += '</td>';
        html += '</tr>';
        html += '<tr>';
        html += '<td height="20" >';
        html += '</td>';
        html += '</tr>';
        html += '</table>';
        html += '</td>';
        html += '</tr>';
        html += '</table>';
        html += '</body>';
        html += '</html>';
    }
    else if(filename == '/overview_div'){
        //html += '<?php include_once "includes/config.php";?>';
        html += '<html>';
        html += '<head>';
        html += '<title>Brilliant Connections</title>';
        html += '<link href="'+DIR_WS_CATALOG_STYLE+'stylesheet1.css" rel="stylesheet" type="text/css">';
        html += '<script language="JavaScript" src="'+DIR_WS_CATALOG_JS+'common_scripts_new.js"></script>';
        html += '<style type="text/css">';
        html += '<!--';
        html += '.style1 {font-family: Arial, Helvetica, sans-serif}';
        html += '.style3 {font-family: Arial, Helvetica, sans-serif;font-size: 16px;font-weight: bold;color: #ff9900;}';
        html += '-->';
        html += '</style>';
        html += '</head>';
        html += '<body>';
        html += '<table cellspacing="0" cellpadding="0" border="0" width="100%" align="right" bgcolor="#6f6f6f">';
        html += '<tr>';
        html += '<td>';
        html += '<table cellspacing="0" cellpadding="0" border="0" width="100%" align="right" >';
        html += '<tr>';
        html += '<td>';
        html += '<table cellspacing="2" cellpadding="0" border="0" width="100%" >';
        html += '<tr height="32">';
        html += '<td>';
        html += '    <div style="font-size: 11pt; font-family: Arial, Helvetica, sans-serif;color: #FF9933; font-weight:bold;" align="center"> </div>';
        html += '</td>';
        html += '<td>&nbsp;</td>';
        html += '<td width="66%" align="center"><span class="style1"> &nbsp;<span class="style3">An Overview</span></span></td>';
        html += '</tr>';
        html += '<tr>';
        html += '  <td width="34%" valign="top"><table width="100%"  border="0" cellspacing="6" cellpadding="0">';
        html += '      <tr>';
        html += '        <td valign="top"><div align="right" class="popupcontent_orangesmall"  onMouseover=\'menuchange("'+DIR_WS_CATALOG+'overview_div");\'>An Overview </div></td>';
        html += '      </tr>';
        html += '      <tr>';
        html += '        <td valign="top"><div align="right" class="popupcontent_whitesmallnew" onMouseover=\'menuchange("'+DIR_WS_CATALOG+'about_div");\'>About Us </div></td>';
        html += '      </tr>';
        html += '      <tr>';
        html += '        <td valign="top"><div align="right" class="popupcontent_whitesmallnew" onMouseover=\'menuchange("'+DIR_WS_CATALOG+'leader_div");\'>Leadership</div></td>';
        html += '      </tr>';
        html += '      <tr>';
        html += '        <td valign="top"><div align="right" class="popupcontent_whitesmallnew" onMouseover=\'menuchange("'+DIR_WS_CATALOG+'networking_div");\'>Value Of Networking </div></td>';
        html += '      </tr>';
        html += '      <tr>';
        html += '        <td valign="top"><div align="right" class="popupcontent_whitesmallnew" onMouseover=\'menuchange("'+DIR_WS_CATALOG+'vision_div");\'>Our Vision </div></td>';
        html += '      </tr>';
        html += '      </table></td>';
        html += '	  <td width="0%"></td>';
        html += '      <td width="66%" valign="top">';
        html += '      <table width="100%"  border="0" cellspacing="2" cellpadding="0" >';
        html += '      <tr>';
        html += '      <td valign="top" class="popupcontent_whitesmallnewpointer" ><div id="textchange" align="left" style="margin-left:5px" class="popupcontent_whitesmallnewpointer">Brilliant Connections has set out to become the best professional networking and business development provider.  Our tools allow sales professionals to be more effective in your daily work and open doors to new opportunities. Our personal unified communications, marketing, and networking tools provide the ability to create e-mail campaigns, banners, instant messaging, web conferencing, voice broadcasting as well as many other business development tools. We understand your primary goals and we work hard to assist you in achieving them.  Brilliant Connections has designed a system that makes these tools easy to use in a single user interface, freeing you to concentrate on what you do best...run and grow your business.';
        html += '      </div>';
        html += '      </td></tr></table></td>';
        html += '</tr>';
        html += '<tr>';
        html += '<td height="15">&nbsp;</td>';
        html += '</tr>';
        html += '</table>';
        html += '</td>';
        html += '</tr>';
        html += '<tr>';
        html += '<td  bgcolor="#E0842A">';
        html += '<table width="40%"  border="0" align="right" cellpadding="0" cellspacing="0">';
      	html += '<tr><td width="100%" class="popupcontent_whitesmall" align="right">';
        html += '  <div><a onClick="learnfileprofile("'+DIR_WS_CATALOG+'profile.php");" style="cursor:pointer;text-decoration:none"><span class="popupcontent_whitesmall">Update your Profile &lt; </span></a></div>';
        html += '  <div><a onClick="learnfileprofile("index.php");" style="cursor:pointer;text-decoration:none"><span class="popupcontent_whitesmall">People are Talking &lt; <span></a></div>';
        html += '  <div><a onClick="learnfileprofile("value_of_networking.php");" style="cursor:pointer;text-decoration:none"><span class="popupcontent_whitesmall">Expand your Network &lt; </span></a></div>';
        html += '  </td>';
      	html += '<td width="5%">&nbsp;</td>';
      	html += '</tr>';
        html += '</table>';
        html += '</td>';
        html += '</tr>';
        html += '<tr>';
        html += '<td height="20" >';
        html += '</td>';
        html += '</tr>';
        html += '</table>';
        html += '</td>';
        html += '</tr>';
        html += '</table>';
        html += '</body>';
        html += '</html>';
    }
    else if(filename == '/leader_div'){
        //html += '<?php include_once "includes/config.php"; ?>';
        html += '<html>';
        html += '<head>';
        html += '<title>Brilliant Connections</title>';
        html += '<link href="'+DIR_WS_CATALOG_STYLE+'stylesheet1.css" rel="stylesheet" type="text/css">';
        html += '<script language="JavaScript" src="'+DIR_WS_CATALOG_JS+'common_scripts_new.js"></script>';
        html += '<style type="text/css">';
        html += '<!--';
        html += '.style1 {font-family: Arial, Helvetica, sans-serif}';
        html += '.style3 {font-family: Arial, Helvetica, sans-serif;font-size: 16px;font-weight: bold;color: #ff9900;}';
        html += '-->';
        html += '</style>';
        html += '</head>';
        html += '<body>';
        html += '<table cellspacing="0" cellpadding="0" border="0" width="100%" align="right" bgcolor="#6f6f6f">';
        html += '<tr>';
        html += '<td>';
        html += '<table cellspacing="0" cellpadding="0" border="0" width="100%" align="right" >';
        html += '<tr>';
        html += '<td>';
        html += '<table cellspacing="2" cellpadding="0" border="0" width="100%">';
        html += '<tr height="32">';
        html += '  <td width="34%">';
        html += '    <div style="font-size: 11pt; font-family: Arial, Helvetica, sans-serif;color: #FF9933; font-weight:bold;" align="center"> </div></td>';
        html += '  <td>&nbsp;</td>';
        html += '  <td width="66%" align="center"><span class="style1"> &nbsp;&nbsp;<span class="style3">Leadership </span></span></td>';
        html += '</tr>';
        html += '<tr>';
        html += '  <td valign="top"><table width="100%"  border="0" cellspacing="6" cellpadding="0">';
        html += '      <tr>';
        html += '        <td valign="top"><div align="right" class="popupcontent_whitesmallnew"  onMouseover=\'menuchange("'+DIR_WS_CATALOG+'overview_div");\'>An Overview </div></td>';
        html += '      </tr>';
        html += '      <tr>';
        html += '        <td valign="top"><div align="right" class="popupcontent_whitesmallnew" onMouseover=\'menuchange("'+DIR_WS_CATALOG+'about_div");\'>About Us </div></td>';
        html += '      </tr>';
        html += '      <tr>';
        html += '        <td valign="top"><div align="right" class="popupcontent_orangesmall" onMouseover=\'menuchange("'+DIR_WS_CATALOG+'leader_div");\'>Leadership</div></td>';
        html += '      </tr>';
        html += '      <tr>';
        html += '        <td valign="top"><div align="right" class="popupcontent_whitesmallnew" onMouseover=\'menuchange("'+DIR_WS_CATALOG+'networking_div");\'>Value Of Networking </div></td>';
        html += '      </tr>';
        html += '      <tr>';
        html += '        <td valign="top"><div align="right" class="popupcontent_whitesmallnew" onMouseover=\'menuchange("'+DIR_WS_CATALOG+'vision_div");\'>Our Vision </div></td>';
        html += '      </tr>';
        html += '  </table></td>';
        html += '  <td></td>';
        html += '  <td valign="top">';
        html += '    <table width="100%"  border="0" cellspacing="2" cellpadding="0" >';
        html += '      <tr>';
        html += '       <td valign="top" class="popupcontent_whitesmallnewpointer" ><div id="textchange" align="left" style="margin-left:5px" class="popupcontent_whitesmallnewpointer">Brian Vilmer brings 13 years of experience in sales and marketing technology designed to streamline the method people collect and communicate information. His work has centered on a passion that technology should enhance a worker\'s productivity while maintaining its ease of use. Brian spent many years early in his career managing projects utilizing content communications technology for many Fortune 1000 companies.<br>Brilliant Blue provides accelerated capabilities to help our clients achieve their corporate growth goals. For more information on Brilliant Blue\'s leadership click here: <a onClick="javascript:window.location.href=\'http://www.brilliantblue.com/about-brilliant-blue/leadership.html\';" target="_blank"><span class="popupcontent_orangesmallbold" style="cursor:hand">http://www.brilliantblue.com/<br>about-brilliant-blue/leadership.html</span></a></div></td>';
        html += '      </tr>';
        html += '  </table></td>';
        html += '</tr>';
        html += '<tr>';
        html += '<td height="35">&nbsp;</td>';
        html += '</tr>';
        html += '</table>';
        html += '</td>';
        html += '</tr>';
        html += '<tr>';
        html += '<td  bgcolor="#E0842A">';
        html += '<table width="40%"  border="0" align="right" cellpadding="0" cellspacing="0">';
      	html += '<tr><td width="100%" class="popupcontent_whitesmall" align="right">';
        html += '  <div><a onClick="learnfileprofile("'+DIR_WS_CATALOG+'profile.php");" style="cursor:pointer;text-decoration:none"><span class="popupcontent_whitesmall">Update your Profile &lt; </span></a></div>';
        html += '  <div><a onClick="learnfileprofile("index.php");" style="cursor:pointer;text-decoration:none"><span class="popupcontent_whitesmall">People are Talking &lt; <span></a></div>';
        html += '  <div><a onClick="learnfileprofile("value_of_networking.php");" style="cursor:pointer;text-decoration:none"><span class="popupcontent_whitesmall">Expand your Network &lt; </span></a></div>';
        html += '  </td>';
      	html += '<td width="5%">&nbsp;</td>';
      	html += '</tr>';
        html += '</table>';
        html += '</td>';
        html += '</tr>';
        html += '<tr>';
        html += '<td height="20" >';
        html += '</td>';
        html += '</tr>';
        html += '</table>';
        html += '</td>';
        html += '</tr>';
        html += '</table>';
        html += '</body>';
        html += '</html>';
    }
    else if(filename == '/networking_div'){
        //html += '<?php include_once "includes/config.php"; ?>';
        html += '<html>';
        html += '<head>';
        html += '<title>Brilliant Connections</title>';
        html += '<link href="'+DIR_WS_CATALOG_STYLE+'stylesheet1.css" rel="stylesheet" type="text/css">';
        html += '<script language="JavaScript" src="'+DIR_WS_CATALOG_JS+'common_scripts_new.js"></script>';
        html += '<style type="text/css">';
        html += '<!--';
        html += '.style1 {font-family: Arial, Helvetica, sans-serif}';
        html += '.style3 {font-family: Arial, Helvetica, sans-serif;font-size: 16px;font-weight: bold;color: #ff9900;}';
        html += '-->';
        html += '</style>';
        html += '</head>';
        html += '<body>';
        html += '<table cellspacing="0" cellpadding="0" border="0" width="100%" align="right" bgcolor="#6f6f6f">';
        html += '<tr>';
        html += '<td>';
        html += '<table cellspacing="0" cellpadding="0" border="0" width="100%" align="right" >';
        html += '<tr>';
        html += '<td>';
        html += '<table cellspacing="2" cellpadding="0" border="0" width="100%">';
        html += '<tr height="32">';
        html += '  <td width="34%">';
        html += '    <div style="font-size: 11pt; font-family: Arial, Helvetica, sans-serif;color: #FF9933; font-weight:bold;" align="center"> </div></td>';
        html += '  <td>&nbsp;</td>';
        html += '  <td width="66%" align="center"><span class="style1"> &nbsp;&nbsp;<span class="style3">Value of Networking</span></span></td>';
        html += '</tr>';
        html += '<tr>';
        html += '  <td valign="top"><table width="100%"  border="0" cellspacing="6" cellpadding="0">';
        html += '      <tr>';
        html += '        <td valign="top"><div align="right" class="popupcontent_whitesmallnew"  onMouseover=\'menuchange("'+DIR_WS_CATALOG+'overview_div");\'>An Overview </div></td>';
        html += '      </tr>';
        html += '      <tr>';
        html += '        <td valign="top"><div align="right" class="popupcontent_whitesmallnew" onMouseover=\'menuchange("'+DIR_WS_CATALOG+'about_div");\'>About Us </div></td>';
        html += '      </tr>';
        html += '      <tr>';
        html += '        <td valign="top"><div align="right" class="popupcontent_whitesmallnew" onMouseover=\'menuchange("'+DIR_WS_CATALOG+'leader_div");\'>Leadership</div></td>';
        html += '      </tr>';
        html += '      <tr>';
        html += '        <td valign="top"><div align="right" class="popupcontent_orangesmall" onMouseover=\'menuchange("'+DIR_WS_CATALOG+'networking_div");\'>Value Of Networking </div></td>';
        html += '      </tr>';
        html += '      <tr>';
        html += '        <td valign="top"><div align="right" class="popupcontent_whitesmallnew" onMouseover=\'menuchange("'+DIR_WS_CATALOG+'vision_div");\'>Our Vision </div></td>';
        html += '      </tr>';
        html += '  </table></td>';
        html += '  <td></td>';
        html += '  <td valign="top">';
        html += '    <table width="100%"  border="0" cellspacing="2" cellpadding="0" >';
        html += '      <tr>';
        html += '       <td valign="top" class="popupcontent_whitesmallnewpointer" ><div id="textchange" align="left" style="margin-left:5px" class="popupcontent_whitesmallnewpointer"><p>Brilliant Connections provides (among other things) professional networking.  This isn\'t just a simple social networking site merely allowing you to link to \'friends\'.  This is a business networking site, with real businesses, providing real opportunities, and real leads.  Imagine a place where you find thousands of professionals just like yourself, either within your own company, or if your company allows - within other industries sorted by industry, company name, and department.  Everyone has common goals to grow business.   This isn\'t social networking, this is real business growth.</div></td>';
        html += '      </tr>';
        html += '  </table></td>';
        html += '</tr>';
        html += '<tr>';
        html += '<td height="35">&nbsp;</td>';
        html += '</tr>';
        html += '</table>';
        html += '</td>';
        html += '</tr>';
        html += '<tr>';
        html += '<td  bgcolor="#E0842A">';
        html += '<table width="40%"  border="0" align="right" cellpadding="0" cellspacing="0">';
      	html += '<tr><td width="100%" class="popupcontent_whitesmall" align="right">';
        html += '  <div><a onClick="learnfileprofile("'+DIR_WS_CATALOG+'profile.php");" style="cursor:pointer;text-decoration:none"><span class="popupcontent_whitesmall">Update your Profile &lt; </span></a></div>';
        html += '  <div><a onClick="learnfileprofile("index.php");" style="cursor:pointer;text-decoration:none"><span class="popupcontent_whitesmall">People are Talking &lt; <span></a></div>';
        html += '  <div><a onClick="learnfileprofile("value_of_networking.php");" style="cursor:pointer;text-decoration:none"><span class="popupcontent_whitesmall">Expand your Network &lt; </span></a></div>';
        html += '  </td>';
      	html += '<td width="5%">&nbsp;</td>';
      	html += '</tr>';
        html += '</table>';
        html += '</td>';
        html += '</tr>';
        html += '<tr>';
        html += '<td height="20" >';
        html += '</td>';
        html += '</tr>';
        html += '</table>';
        html += '</td>';
        html += '</tr>';
        html += '</table>';
        html += '</body>';
        html += '</html>';
    }
    else if(filename == '/vision_div'){
        //html += '<?php include_once "includes/config.php"; ?>';
        html += '<html>';
        html += '<head>';
        html += '<title>Brilliant Connections</title>';
        html += '<link href="'+DIR_WS_CATALOG_STYLE+'stylesheet1.css" rel="stylesheet" type="text/css">';
        html += '<script language="JavaScript" src="'+DIR_WS_CATALOG_JS+'common_scripts_new.js"></script>';
        html += '<style type="text/css">';
        html += '<!--';
        html += '.style1 {font-family: Arial, Helvetica, sans-serif}';
        html += '.style3 {font-family: Arial, Helvetica, sans-serif;font-size: 16px;font-weight: bold;color: #ff9900;}';
        html += '-->';
        html += '</style>';
        html += '</head>';
        html += '<body>';
        html += '<table cellspacing="0" cellpadding="0" border="0" width="100%" align="right" bgcolor="#6f6f6f">';
        html += '<tr>';
        html += '<td>';
        html += '<table cellspacing="0" cellpadding="0" border="0" width="100%" align="right" >';
        html += '<tr>';
        html += '<td>';
        html += '<table cellspacing="2" cellpadding="0" border="0" width="100%">';
        html += '<tr height="32">';
        html += '  <td width="34%">';
        html += '    <div style="font-size: 11pt; font-family: Arial, Helvetica, sans-serif;color: #FF9933; font-weight:bold;" align="center"> </div></td>';
        html += '  <td>&nbsp;</td>';
        html += '  <td width="66%" align="center"><span class="style1"> &nbsp;&nbsp;<span class="style3">Our Vision</span></span></td>';
        html += '</tr>';
        html += '<tr>';
        html += '  <td valign="top"><table width="100%"  border="0" cellspacing="6" cellpadding="0">';
        html += '      <tr>';
        html += '        <td valign="top"><div align="right" class="popupcontent_whitesmallnew"  onMouseover=\'menuchange("'+DIR_WS_CATALOG+'overview_div");\'>An Overview </div></td>';
        html += '      </tr>';
        html += '      <tr>';
        html += '        <td valign="top"><div align="right" class="popupcontent_whitesmallnew" onMouseover=\'menuchange("'+DIR_WS_CATALOG+'about_div");\'>About Us </div></td>';
        html += '      </tr>';
        html += '      <tr>';
        html += '        <td valign="top"><div align="right" class="popupcontent_whitesmallnew" onMouseover=\'menuchange("'+DIR_WS_CATALOG+'leader_div");\'>Leadership</div></td>';
        html += '      </tr>';
        html += '      <tr>';
        html += '        <td valign="top"><div align="right" class="popupcontent_whitesmallnew" onMouseover=\'menuchange("'+DIR_WS_CATALOG+'networking_div");\'>Value Of Networking </div></td>';
        html += '      </tr>';
        html += '      <tr>';
        html += '        <td valign="top"><div align="right" class="popupcontent_orangesmall" onMouseover=\'menuchange("'+DIR_WS_CATALOG+'vision_div");\'>Our Vision </div></td>';
        html += '      </tr>';
        html += '  </table></td>';
        html += '  <td></td>';
        html += '  <td valign="top">';
        html += '    <table width="100%"  border="0" cellspacing="2" cellpadding="0" >';
        html += '      <tr>';
        html += '       <td valign="top" class="popupcontent_whitesmallnewpointer" ><div id="textchange" align="left" style="margin-left:5px" class="popupcontent_whitesmallnewpointer">Our vision is simple.  Provide real business growth opportunities for sales professionals, at a cost that anyone can afford.  It is that simple!</div></td>';
        html += '      </tr>';
        html += '  </table></td>';
        html += '</tr>';
        html += '<tr>';
        html += '<td height="35">&nbsp;</td>';
        html += '</tr>';
        html += '</table>';
        html += '</td>';
        html += '</tr>';
        html += '<tr>';
        html += '<td  bgcolor="#E0842A">';
        html += '<table width="40%"  border="0" align="right" cellpadding="0" cellspacing="0">';
      	html += '<tr><td width="100%" class="popupcontent_whitesmall" align="right">';
        html += '  <div><a onClick="learnfileprofile("'+DIR_WS_CATALOG+'profile.php");" style="cursor:pointer;text-decoration:none"><span class="popupcontent_whitesmall">Update your Profile &lt; </span></a></div>';
        html += '  <div><a onClick="learnfileprofile("index.php");" style="cursor:pointer;text-decoration:none"><span class="popupcontent_whitesmall">People are Talking &lt; <span></a></div>';
        html += '  <div><a onClick="learnfileprofile("value_of_networking.php");" style="cursor:pointer;text-decoration:none"><span class="popupcontent_whitesmall">Expand your Network &lt; </span></a></div>';
        html += '  </td>';
      	html += '<td width="5%">&nbsp;</td>';
      	html += '</tr>';
        html += '</table>';
        html += '</td>';
        html += '</tr>';
        html += '<tr>';
        html += '<td height="20" >';
        html += '</td>';
        html += '</tr>';
        html += '</table>';
        html += '</td>';
        html += '</tr>';
        html += '</table>';
        html += '</body>';
        html += '</html>';
    }    
    //alert(html);
    if(html != ''){
    if (document.getElementById) {
        document.getElementById("home").innerHTML = html;
        }else if (document.layers && document.layers["home"]) {
        document.layers["home"].innerHTML = html;
        } else if (document.all) {
    document.all["home"].innerHTML = html;
    }
    }
   //aboutid
    /* var http_request = false;
     var url=filename+".php?mname=home";
     try{
      http_request = new XMLHttpRequest();
     }catch(trymicrosoft){
       try{
        http_request = new ActiveXObject("Msxml2.XMLHTTP");
       }catch(othermicrosoft){
         try {
          http_request = new ActiveXObject("Microsoft.XMLHTTP");
         }catch (failed) {
          http_request = false;
         }  
       }
      }

      http_request.open("GET",url,true);
      http_request.onreadystatechange = function(){
       if(http_request.readyState==4){
       
        if (document.getElementById) {
        document.getElementById("home").innerHTML = http_request.responseText;
        }else if (document.layers && document.layers["home"]) {
        document.layers["home"].innerHTML = http_request.responseText;
        } else if (document.all) {
    document.all["home"].innerHTML = http_request.responseText;
    }
       }
      }
      http_request.send(null);*/
    }
    
    function menuchange_profile(filename){
    alert("drtder");
    if (document.getElementById) {
     document.getElementById("home1").style.visibility   =  'visible';
   //document.getElementById("home").style.display      =  '';
   }else if (document.layers && document.layers["home1"]) {
   document.layers["home1"].visibility = 'visible';
   //document.layers[object].display = '';
   }
   else if (document.all) {
    document.all["home1"].style.visibility = 'visible';
    //document.all[object].style.display = '';
  }
   document.getElementById("aboutid").style.background      =  '#6f6f6f';
   document.getElementById("aboutid").style.color      =  '#ffffff';
   //aboutid
     var http_request = false;
     var url=filename+".php?mname=home1";
     try{
      http_request = new XMLHttpRequest();
     }catch(trymicrosoft){
       try{
        http_request = new ActiveXObject("Msxml2.XMLHTTP");
       }catch(othermicrosoft){
         try {
          http_request = new ActiveXObject("Microsoft.XMLHTTP");
         }catch (failed) {
          http_request = false;
         }  
       }
      }

      http_request.open("GET",url,true);
      http_request.onreadystatechange = function(){
       if(http_request.readyState==4){
       
        if (document.getElementById) {
        document.getElementById("home1").innerHTML = http_request.responseText;
        }else if (document.layers && document.layers["home1"]) {
        document.layers["home1"].innerHTML = http_request.responseText;
        } else if (document.all) {
    document.all["home1"].innerHTML = http_request.responseText;
    }
       }
      }
      http_request.send(null);
    }
    
    
    function menublank(){
    document.getElementById("home").style.visibility  =  'hidden';
    document.getElementById("home").style.display     =  'none';
   }

    function learnfile(filename){
     window.location.href=filename+".php";
    }
    function learnfileprofile(filenameprofile){
     window.location.href=filenameprofile;
    }
function SwitchMenu(obj){
MM_swapImage('Image35','','images/the_experience_on.jpg',1);

	if(document.getElementById){
	var el = document.getElementById(obj);
	var ar = document.getElementById("cont").getElementsByTagName("DIV");
	//	if(el.style.display == "none"){
			//for (var i=0; i<ar.length; i++){
				//ar[i].style.display = "none";
			//}
			el.style.display = "block";
	//	}else{
		//	el.style.display = "none";
		//}
	}
}

function ChangeClass(obj) { 
MM_swapImgRestore();
	var el = document.getElementById(obj);
var ar = document.getElementById("cont").getElementsByTagName("DIV");
		if(el.style.display == "none"){
			for (var i=0; i<ar.length; i++){
				ar[i].style.display = "none";
			}
			el.style.display = "block";
		}else{
		
	if (!IE){
  if (window.Event) {
    document.captureEvents(Event.MOUSEMOVE);
  }}
 
  document.onmousemove = getXY;
  
  xcord = 0;
  ycord = 0;
if( (xcord >= 49 && ycord >= 159) &&(xcord <= 435 && ycord >= 220))
{
}else{
				el.style.display = "none";
				}
		}
} 


function close_popup(){

      window.opener.location.reload();
      self.close();
        
}

//function YNconfirm() { 
 function YNconfirm(frm,call_method,file_name,saved_page) { 

     var str;
     var pos = 0;
     str = saved_page.indexOf("?",pos);
     if(document.getElementById(frm).changeval.value!=""){
         if (confirm("Do you want to save unsaved information")) { 
             if(str > 0) {
                 document.getElementById(frm).action = saved_page+'&close='+call_method;
             } else {
                 document.getElementById(frm).action = saved_page+'?close='+call_method;
             }
              //document.getElementById(frm).action = saved_page+'&close='+call_method;
              document.getElementById(frm).submit();
          } else { 
              if(call_method=="back")
                window.location.href=file_name;  
              else
                close_popup();  
          } 
   } else {
        if(call_method=="back")
            window.location.href=file_name;  
        else
            close_popup(); 
   }      
   
  
}

