$(function(){$("#ec_code_type").bind("change",function(){var a=$(this).val();var b="";switch(a){case"javascript":b="Javascript Code";break;case"iframe":b="Iframe Code";break;case"php_file":b="PHP Form File";break;case"php_code":b="PHP Embed Code";break;case"simple_link":b="Simple Link";break;case"popup_link":b="Popup Link";break}$("#ec_main_code_meta > h5").text(b);$("#ec_main_code_content > div").hide();$("#ec_information > span").hide();if(a=="javascript"){$("#ec_code_javascript").show();$("#ec_info_javascript").show()}else{if(a=="iframe"){$("#ec_code_iframe").show();$("#ec_info_iframe").show()}else{if(a=="php_file"){$("#ec_code_php_file").show();$("#ec_info_php_file").show()}else{if(a=="php_code"){$("#ec_code_php_code").show();$("#ec_info_php_code").show()}else{if(a=="simple_link"){$("#ec_code_simple_link").show();$("#ec_info_simple_link").show()}else{if(a=="popup_link"){$("#ec_code_popup_link").show();$("#ec_info_popup_link").show()}}}}}}})});