function MM_changeProp(objId,x,theProp,theValue){var obj=null;with(document){if(getElementById)
obj=getElementById(objId);}
if(obj){if(theValue==true||theValue==false)
eval("obj.style."+theProp+"="+theValue);else eval("obj.style."+theProp+"='"+theValue+"'");}}
function getcity(dom){for(var x=1;x<=7;x++){if(x!=dom)
jQuery('#'+x+'_city').hide();}
jQuery('#'+dom+'_city').toggle();}
function handleSelect1(elm)
{window.location=elm.value;}
function doajaxzoneheader(){var field_aheader=$('#zoneheader').val();$.ajax({type:"POST",url:"<?php echo bloginfo('template_directory'); ?>/findcity.php",data:"zoneheader="+field_aheader,success:function(resp){document.getElementById("stateheader").innerHTML=resp;},error:function(e){alert('Error: '+e);}});}
function doajaxstateheader(){var field_bheader=$('#stateheader1').val();request_sender_id_data_header={action:"get_state_header",field_bheader:field_bheader};jQuery.ajax({data:request_sender_id_data_header,type:"POST",url:ajaxurl,success:subscription_response_header});}
function subscription_response_header(response){jQuery('#secondheader').html(response);}
function doajaxcontheader(){var fieldbheader=$('#contheader').val();request_sender_id_cont_header={action:"get_cont_header",fieldbheader:fieldbheader};jQuery.ajax({data:request_sender_id_cont_header,type:"POST",url:ajaxurl,success:subscription_resp_header_cont});}
function subscription_resp_header_cont(response){jQuery('#head_cont').html(response);}
function clear_value(id){id.value='';}
function fill_value(id){var val=jQuery(id).val();if(val==''){id.value='Enter text'}}

