
jQuery(document).ready(function(){
	jQuery('#name').focus(function(){
		if(this.value=='Your Name')
			this.value = '';
	});
	jQuery('#name').blur(function(){
		if(this.value=='')
			this.value = 'Your Name';
	});
	jQuery('#email').focus(function(){
		if(this.value=='Your Email')
			this.value = '';
	});
	jQuery('#email').blur(function(){
		if(this.value=='')
			this.value = 'Your Email';
	});
	jQuery('#phone').focus(function(){
		if(this.value=='Phone No')
			this.value = '';
	});
	jQuery('#phone').blur(function(){
		if(this.value=='')
			this.value = 'Phone No';
	});
	jQuery('#inquiry').focus(function(){
		if(this.value=='Your Message')
			this.value = '';
	});
	jQuery('#inquiry').blur(function(){
		if(this.value=='')
			this.value = 'Your Message';
	});

	
	
	
	
	
	
	jQuery('#open').click(function(){
		if(this.title=='open'){
		this.title='close';

		jQuery('#open').html('<img src="./wp-content/themes/default/images/arrow-up.gif" border="0">');
		jQuery('#states').animate({height: '165px'}, 500);
		}else{
		this.title='open';		
		jQuery('#open').html('<img src="./wp-content/themes/default/images/arrow-down.gif" border="0">');
		jQuery('#states').animate({height: '33px'}, 500);
		}
		return false;
	});
	jQuery('#open1').click(function(){
		if(this.title=='open'){
		this.title='close';

		jQuery('#open').html('<img src="./wp-content/themes/default/images/arrow-up.gif" border="0">');
		jQuery('#states').animate({height: '119px'}, 500);
		}else{
		this.title='open';		
		jQuery('#open').html('<img src="./wp-content/themes/default/images/arrow-down.gif" border="0">');
		jQuery('#states').animate({height: '33px'}, 500);
		}
		return false;
	});
	jQuery('#open_city').click(function(){
		if(this.title=='open'){
		//alert(this.title);
		this.title='close';
		jQuery('#open_city').html('<img src="./wp-content/themes/default/images/arrow-up1.gif" border="0">');
		jQuery('#cities1').animate({height: '119px'}, 500);
		}else{
		this.title='open';		
		jQuery('#open_city').html('<img src="./wp-content/themes/default/images/arrow-down1.gif" border="0">');
		jQuery('#cities1').animate({height: '33px'}, 500);
		}
		return false;
	});
	jQuery('#open_city1').click(function(){
		if(this.title=='open'){
		//alert(this.title);
		this.title='close';
		jQuery('#open_city').html('<img src="./wp-content/themes/default/images/arrow-up1.gif" border="0">');
		jQuery('#cities1').animate({height: '119px'}, 500);
		}else{
		this.title='open';		
		jQuery('#open_city').html('<img src="./wp-content/themes/default/images/arrow-down1.gif" border="0">');
		jQuery('#cities1').animate({height: '33px'}, 500);
		}
		return false;
	});

var h = jQuery(".ph_no").css('height');
	jQuery("#dw").click(function(){
		//alert(this.title);
		jQuery('.ph_no').animate({height: this.title+'px'}, 100);
		if(this.title!='20'){
			this.title = 20;
		}else{
			this.title = h;
		}
		return false;
	});
	var txt = '';
		txt += '<ul>';
		txt += '<li>An ISO 9000 -2008 certified company / Complying to CMMI Level 3 standards.</li>';
		txt += '<li>Housing a professional Team of over 150 employees.</li>';
		txt += '<li>Client Base of Over 2000 companies worldwide.</li>';
		txt += '<li>SEMPO/Google Adwords/SEOPROS/TOPSEOS Certified.</li>';
		txt += '<li>Over a decade in operation.</li>';
		txt += '<li>Enjoying more than 90% customer retention.</li>';
		txt += '<li>Scalable network architecture & systems.</li>';
		txt += '<li>State of the art intranet with data security.</li>';
		txt += '</ul>';
		jQuery('#js_txt').html(txt);
});

function showData(url, id)
{
	if (url==""){
		document.getElementById(id).style.display = "none";
		return;
	}
	if (window.XMLHttpRequest){// code for IE7+, Firefox, Chrome, Opera, Safari
		xmlhttp=new XMLHttpRequest();
	}else{// code for IE6, IE5
		xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
	}
	xmlhttp.onreadystatechange=function(){
		if (xmlhttp.readyState==4 && xmlhttp.status==200){
			document.getElementById(id).innerHTML=xmlhttp.responseText;
		}
	}
	xmlhttp.open("GET",url,true);
	xmlhttp.send();
}

function redirect(val){
	if(val!=''){
	window.location.href=val;
	}
}



