/////////////////////////////////////////used for ie7 browser detection for css///////////////////////////////////
$(document).ready(function(){
	if($.browser.msie&&($.browser.version.slice(0,3)=='7.0'||$.browser.version.slice(0,3)=='6.0')){
		$('#productDropDown').css('top','113px');
		$('#productDropDown').css('left','344px');
		$('#newsEvents').css('top','113px');
		$('#newsEvents').css('left','834px');
		$('#contactDropDown').css('top','113px');
		$('#contactDropDown').css('left','985px');
	}
})
///////////////////////////////////////////// used to detect firefox ///////////////////////////////////////
$(document).ready(function(){
	if($.browser.mozilla){
		$('div#links').css('margin-top','28px');
		$('li#lastLi a').css('border-right','none');
	}
})
//////////////////////////////////////////// used for banner slide show //////////////////////////////////////////
$(document).ready(function(){
	$(".banner").cycle({
		fx:    'fade', 
	    pause:  1 
	});
});
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////// start of contact.jsp, our-offices.jsp, quick-contact-success.jsp //////////////////
function detectCountryQuickContact() {
	var form = document.forms[1];
	getPhoneCodeContact(form.tempCountry.value);
}
/////////////////////// end of contact.jsp, our-offices.jsp, quick-contact-success.jsp ///////////////////////////
/////////////////////////////////////// start of free-trial.jsp //////////////////////////////////////////////////
function redirect(){
	window.location ="http://www.itelmobiledialer.com/registration/free-demo-mobile-voip-dialer.php";
}
function detectCountry() {
	var form = document.forms[1];
	getPhoneCode(form.tempCountry.value);
}
/////////////////////////////////// end of free-trial.jsp ////////////////////////////////////////////////////////
/////////////////////////////////////// start of general_query.jsp ///////////////////////////////////////////////
function detectCountryGeneralQuery(){
	var form = document.forms[1];
	getPhoneCode_general_query(form.tempCountry.value);
}
////////////////////////////////////////////// end of general_query.jsp //////////////////////////////////////////
