dw_Tooltip.defaultProps = {
    hoverable: true
}

dw_Tooltip.content_vars = {
    L1: 'Forgot<a href="forgot_pwd.php" class="text1"> Password?</a><br/>Use your PIN <br/>  <a href="#" class="text1">Join Us</a>',
    L2: '..'
}

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_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_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_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function display(id)
{

location.href="faq5445.php?id="+id+"";
}

function validate()
{

 var filter  = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/i;//used to check the email

if(document.pressed == 'Login')
	{
		document.myform.action ="login.php";
	}
	else
	if(document.pressed == 'GetPassword')
	{
		document.myform.action ="forgot_pwdmail.php";
	}

if(document.pressed == 'Login')
	{
	
	 var data2 = document.myform.usr.value;
		 if (data2 == "")
		 {
			  alert("Please enter your Email.");
			  document.myform.usr.focus();
			  return false;
		 }
		 
		 	 if(data2!="")
		{
	 		if (data2.search(filter) == -1)
			{
			alert("Please Enter Valid Email Id ");
			document.myform.usr.focus();
			return false;
			}
		}
		 var data = document.myform.pwd.value;
	 	if (data == "")
		 {
		 		
			  alert("Please enter your password or PIN.");
			  document.myform.pwd.focus();
			  return false;
		 }
 
 }
 document.myform.submit();
 return true;
  }
        $(function() {

                $('#container-1').tabs({ fxSlide: true, fxFade: true, fxSpeed: 'normal' });
                $('#container-2').tabs(2);
                $('#container-3').tabs({ fxSlide: true, fxFade: true, fxSpeed: 'normal' });
                $('#container-4').tabs({ fxFade: true, fxSpeed: 'fast' });
                $('#container-5').tabs({ fxSlide: true, fxFade: true, fxSpeed: 'normal' });
                $('#container-6').tabs({
                    fxFade: true,
                    fxSpeed: 'fast',
                    onClick: function() {
                        alert('onClick');
                    },
                    onHide: function() {
                        alert('onHide');
                    },
                    onShow: function() {
                        alert('onShow');
                    }
                });
                $('#container-7').tabs({ fxAutoHeight: true });
                $('#container-8').tabs({ fxShow: { height: 'show', opacity: 'show' }, fxSpeed: 'normal' });
                $('#container-9').tabs({ remote: true });
                $('#container-10').tabs();
                $('#container-11').tabs({ disabled: [3] });

                $('<p><a href="#">Disable third tab<\/a><\/p>').prependTo('#fragment-28').find('a').click(function() {
                    $(this).parents('div').eq(1).disableTab(3);
                    return false;
                });
                $('<p><a href="#">Activate third tab<\/a><\/p>').prependTo('#fragment-28').find('a').click(function() {
                    $(this).parents('div').eq(1).triggerTab(3);
                    return false;
                });
                $('<p><a href="#">Enable third tab<\/a><\/p>').prependTo('#fragment-28').find('a').click(function() {
                    $(this).parents('div').eq(1).enableTab(3);
                    return false;
                });

            });
			
	
					   function togglediv(divid,img,path1,path2)
                       {
                       var el = document.getElementById(divid);
       if ( el.style.display != 'none' ) {
               el.style.display = 'none';
               document.getElementById(img).src = path1;
       }
       else {
               el.style.display = '';
               document.getElementById(img).src = path2;
       }

                       
                       }
        
		
		
        
		
		function closediv()
		{
		 document.getElementById('domains').style.display = 'none';
		 document.getElementById('hosting').style.display = 'none';
		 document.getElementById('websites').style.display = 'none';
		 document.getElementById('ecommerce').style.display = 'none';
		 document.getElementById('market').style.display = 'none';
		 document.getElementById('support').style.display = 'none';
		 document.getElementById('resell').style.display = 'none';
		 }
	

 function changeType(ob)
    {        
        if(ob.value=="" || ob.value=="Enter Password / PIN")
        {
            ob.value="";
            document.getElementById("La6").innerHTML='<input type="password" name="pwd" onblur="changeType2(this)" class="tbox">'
         
        }
    }
    function changeType2(ob)
    {
        if(ob.value=="")
        {
            document.getElementById("La6").innerHTML='<input type="text" name="pwd"  value="Enter Password / PIN" onclick="changeType(this)" class="tbox">'
        }        
    }


