function load_iframe() { var ifrm = document.getElementById("formframe"); ifrm.contentWindow.document.write("oh"); } var t_country; var location_canada="Toronto
Montreal"; var location_usa="New York
Boston
Atlanta"; function menu_click() { t=document.getElementById("submenu"); if(t.style.visibility=="visible") { t.style.visibility="hidden"; }else{ t.style.visibility="visible"; } t_country=location_canada; } function set_location(t) { alert("var="+t); } var locaiton_pool={us:'location_usa',ca:'location_canada'}; var submenu_panel_code='\ \ \ \ \
'; //            Experience :  year(s)\ job_search_option_content='\ \
Fulltime  Parttime  Freelancer  Internship  Non-Profit\
  JOB TITLE [OPTION] : 
  KEYWORDS [OPTION] : 
'; function get_location(t_country) { t_str=''; switch(t_country) { case 'All Countries':t_str='Please select country';break; case 'United States':t_str=location_usa;break; } return t_str; } function open_job_submenu(ti) { t_id=ti.id; switch(t_id) { case 'country_cell': if(document.getElementById("job_submenu").style.visibility=="visible") { ti.style.backgroundImage="url('images/downarrow_img.gif')"; document.getElementById("job_submenu").innerHTML=''; document.getElementById("job_submenu").style.visibility="hidden"; }else{ ti.style.backgroundImage="url('images/uparrow_img.gif')"; document.getElementById("job_submenu").style.visibility="visible"; //document.getElementById("job_submenu").style.height="150px"; document.getElementById("job_submenu").innerHTML=submenu_panel_code; get_country_list(); } break; case 'location_cell': if(document.getElementById("job_submenu").style.visibility=="visible") { ti.style.backgroundImage="url('images/downarrow_img.gif')"; document.getElementById("job_submenu").innerHTML=''; document.getElementById("job_submenu").style.visibility="hidden"; }else{ ti.style.backgroundImage="url('images/uparrow_img.gif')"; document.getElementById("job_submenu").style.visibility="visible"; //document.getElementById("job_submenu").style.height="150px"; document.getElementById("job_submenu").innerHTML=submenu_panel_code; get_location_list(); } break; case 'category_cell': if(document.getElementById("job_submenu").style.visibility=="visible") { ti.style.backgroundImage="url('images/downarrow_img.gif')"; document.getElementById("job_submenu").innerHTML=''; document.getElementById("job_submenu").style.visibility="hidden"; }else{ ti.style.backgroundImage="url('images/uparrow_img.gif')"; document.getElementById("job_submenu").style.visibility="visible"; //document.getElementById("job_submenu").style.height="150px"; document.getElementById("job_submenu").innerHTML=submenu_panel_code; get_category_list(); } break; case 'option_cell': /* if(document.getElementById("job_submenu").style.visibility=="visible") { document.getElementById("job_submenu").innerHTML=''; document.getElementById("job_submenu").style.visibility="hidden"; } */ if(document.getElementById("option_content_cell").innerHTML=='') { ti.style.backgroundImage="url('images/uparrow_img.gif')"; document.getElementById("option_content_cell").style.height="75px"; document.getElementById("option_content_cell").style.backgroundColor="#FFEFCE"; document.getElementById("option_content_cell").innerHTML=job_search_option_content; }else{ ti.style.backgroundImage="url('images/downarrow_img.gif')"; document.getElementById("option_content_cell").innerHTML=''; document.getElementById("option_content_cell").style.backgroundColor="#FFFFFF"; document.getElementById("option_content_cell").style.height="0px"; } break; } } /* */ /* var job_panel; var job_panel_std="": var job_panel_adv=""; function set_job_mode(t) { switch(t) { case 0:document.getElementById("job_search_panel").innerHTML=job_panel_std;break; case 1:document.getElementById("job_search_panel").innerHTML=job_pane_adv;break; } } */ // Country setting /////////////////////////////////////////////////////////////////////////////////////////////////////////// Country setting ///////////////////////////////////////////////////////////////////////////////////////////////////////// var country_code=['us','canada','japan','china']; //var country_str={us:'United States',canada:'Canada',japan:'Japan',china:'China'}; var country_str=['United States','Canada','Japan','China']; function set_country(t) { document.getElementById("country_cell").innerHTML=t.innerHTML; document.getElementById("job_submenu").innerHTML=''; document.getElementById("job_submenu").style.visibility="hidden"; document.getElementById("job_submenu").innerHTML=''; document.getElementById("country_cell").style.backgroundImage="url('images/downarrow_img.gif')"; set_location_string("All Locations"); } function set_country_string(t) { document.getElementById("country_cell").innerHTML=t; set_location_string("All Locations"); } function get_country_list() { t_count=country_code.length; //All Countries

United States

Canada

Japan

China

t_selected=''; t_selected=document.getElementById("country_cell").innerHTML; x_dim=1; y_dim=t_count; t_i=0; t_str=''; for(y=0 ; y"; for(x=0;x'+country_str[t_i]+'';}else{t_str=t_str+'';} t_i++; } t_str=t_str+""; } t_str=t_str+"
'+country_str[t_i]+'
"; document.getElementById("submenu_content").innerHTML=t_str; } // Location setting /////////////////////////////////////////////////////////////////////////////////////////////////////////// Location setting ///////////////////////////////////////////////////////////////////////////////////////////////////////// var location_code=[]; var location_str_ref=['United States','Canada','Japan','China']; var location_code_usa=['all','al','ak','az','ar','ca','co','ct','de','fl','ga','hi','id','il','in','ia','ks','ky','la','me','md','ma','mi','mn','ms','mo','mt','ne','nv','nh','nj','nm','ny','nc','nd','oh','ok','or','pa','ri','sc','sd','tn','tx','ut','vt','va','wa','wv','wi','wy','','','','']; var location_str_usa=['All Locations','Alabama','Alaska','Arizona','Arkansas','California','Colorado','Connecticut','Delaware','Florida','Georgia','Hawaii','Idaho','Illinois','Indiana','Iowa','Kansas','Kentucky','Louisiana','Maine','Maryland','Massachusetts','Michigan','Minnesota','Mississippi','Missouri','Montana','Nebraska','Nevada','New Hampshire','New Jersey','New Mexico','New York','North Carolina','North Dakota','Ohio','Oklahoma','Oregon','Pennsylvania','Rhode Island','South Carolina','South Dakota','Tennessee','Texas','Utah','Vermont','Virginia','Washington','West Virginia','Wisconsin','Wyoming','','','','']; var location_code_canada=['all','ontario','quebec','bc','etc']; var location_str_canada=['All Locations','Ontario','Quebec','British Columbia','etc']; var location_code_japan=['all','tokyo','osaka','kyoto','sapporo','okinawa','nagoya','kobe','etc','']; var location_str_japan=['All Locations','Tokyo','Osaka','Kyoto','Sapporo','Okinawa','Nagoya','Kobe','etc','']; var location_code_china=['all','beijing','hk','shanghai','xian','etc','','','','']; var location_str_china=['All Locations','Beijing','Hong Kong','Shanghai','Xian','etc','','','','']; var location_str_pool=[location_str_usa,location_str_canada,location_str_japan,location_str_china]; var location_code_pool=[location_code_usa,location_code_canada,location_code_japan,location_code_china]; function set_location(t) { document.getElementById("job_submenu").innerHTML=''; document.getElementById("job_submenu").style.visibility="hidden"; document.getElementById("location_cell").innerHTML=t;//.innerHTML; document.getElementById("location_cell").style.backgroundImage="url('images/downarrow_img.gif')"; } function set_location_string(t) { document.getElementById("location_cell").innerHTML=t; } function get_location_list() { t_i=0; t_country=document.getElementById("country_cell").innerHTML; t_selected=document.getElementById("location_cell").innerHTML; t_con_count=country_str.length; t_location_id=0; for(i=0;i"; for(x=0;x'+t[t_i]+'';}else{if(t[t_i]!=''){t_str=t_str+''+t[t_i]+'';}else{t_str=t_str+' ';}} // t_str=t_str+''+t[t_i]+''; t_i++; } t_str=t_str+""; } t_str=t_str+""; document.getElementById("submenu_content").innerHTML=t_str; } // Category setting /////////////////////////////////////////////////////////////////////////////////////////////////////////// Category setting ///////////////////////////////////////////////////////////////////////////////////////////////////////// var category_code=['all','finance','office','art','business','engineer','cservice','education','food','labor','government','human','it','legal','manufacturing','marketing','medical','nonprofit','realestate','retail','sales','security','research','travel','transport','video','writing','other','','']; var category_str=['All Categories','Accounting/Finance','Administrative/Office','Art/Media/Design','Business/Management','Engineer','Customer Service','Education/Training','Food Service/Restaurant','General Labor','Government','Human Resources','IT/Network','Legal/Paralegal','Manufacturing','Marketing/Ads','Medical/Health','Nonprofit','Real Estate','Retail/Wholesale','Sales','Security','Science/Research','Travel','Transport/Logistics','TV/Film/Video','Writing/Editing','Other','','']; function get_category_list() { t_selected=''; t_selected=document.getElementById("category_cell").innerHTML; t_i=0; t_count=category_str.length; t_category_id=0; for(i=0;i"; for(x=0;x'+category_str[t_i]+'';}else{if(category_str[t_i]!=''){t_str=t_str+''+category_str[t_i]+'';}else{t_str=t_str+' ';}} // t_str=t_str+''+t[t_i]+''; t_i++; } t_str=t_str+""; } t_str=t_str+""; document.getElementById("submenu_content").innerHTML=t_str; } function set_category(t) { document.getElementById("category_cell").innerHTML=t; document.getElementById("job_submenu").innerHTML=''; document.getElementById("job_submenu").style.visibility="hidden"; document.getElementById("category_cell").style.backgroundImage="url('images/downarrow_img.gif')"; } // Option flags //////////////////////////////////////////////////////////////////////////////////////////////////// Option Flags ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// function set_job_search_option(t_id,t_val) { if(1&t_id){if(t_val==1){document.getElementById("option_fulltime").checked="true";}} if(2&t_id){if(t_val==1){document.getElementById("option_parttime").checked="true";}} if(4&t_id){if(t_val==1){document.getElementById("option_freelancer").checked="true";}} if(8&t_id){if(t_val==1){document.getElementById("option_internship").checked="true";}} if(16&t_id){if(t_val==1){document.getElementById("option_nonprofit").checked="true";}} if(32&t_id){if(t_val){document.getElementById("option_title").value=t_val;}} if(64&t_id){if(t_val){document.getElementById("option_keywords").value=t_val;}} } // Job Search //////////////////////////////////////////////////////////////////////////////////////////////////// Job Search function search_job() { url_str=''; s_url=''; i=0; selected_country_index=0; var selected_location_str;; var selected_location_code; c=country_str.length; country_url=''; location_url=''; category_url=''; option_code_url=0; keyword_url=''; title_url=''; s=document.getElementById("country_cell").innerHTML; for(i=0;i