// Header // SiteCatalyst variable var Prop10 = "Top_Job"; // Set defaults if (!topjobs_tablewidth) { var tableWidth = 150; } else { var tableWidth = topjobs_tablewidth; } if (!topjobs_tableborder) { var tableBorder = 1; } else { var tableBorder = topjobs_tableborder; } if (!topjobs_tablecellpadding) { var tableCellPadding = 1; } else { var tableCellPadding = topjobs_tablecellpadding; } if (!topjobs_tablecellspacing) { var tableCellSpacing = 0; } else { var tableCellSpacing = topjobs_tablecellspacing; } if (!topjobs_tablebgcolor) { var tableBgcolor = "#ffffff"; } else { var tableBgcolor = topjobs_tablebgcolor; } var header = "
"; var allHeader = "Top Jobs

"; // All the postings var allPostings = new Array("placeholder" , Array('RN\'s/LPN\'s', 'Circles of Care', 'Circles of Care RNs/LPN\'s Evenings and ...', 'http://www.careerbuilder.com/jobseeker/jobs/JobDetails.aspx?Job_DID=JN6S062FYS3TLD89FD&lr=cbga_ft&siteid=cbga_ft060') , Array('OR Techs/RNs/PACU RN', '', 'HealthSouth Surgery Center OR Tech -Pool...', 'http://www.careerbuilder.com/jobseeker/jobs/JobDetails.aspx?Job_DID=JN3ZT7818JJ2CLL9X4&lr=cbga_ft&siteid=cbga_ft060') , Array('Palm Tree Buyer', '', 'Palm Tree Buyer Earn $1000+ a week, know...', 'http://www.careerbuilder.com/jobseeker/jobs/JobDetails.aspx?Job_DID=JQ4H06N8PF0XKKL2XT&lr=cbga_ft&siteid=cbga_ft060') , Array('Countertop Makers', '', 'Exp. Countertop Makers/Laminators $15/hr...', 'http://www.careerbuilder.com/jobseeker/jobs/JobDetails.aspx?Job_DID=JN0876LYX7XNJTD1F2&lr=cbga_ft&siteid=cbga_ft060') , Array('Medical', '', 'QUALITY MEDICAL CARE, P.A. Multi-special...', 'http://www.careerbuilder.com/jobseeker/jobs/JobDetails.aspx?Job_DID=JQ84961W6ZQ8ZC98SB&lr=cbga_ft&siteid=cbga_ft060') , Array('Hospitality', 'Hilton/Melbourne', 'Hilton Melbourne Rialto Place 200 Rialto...', 'http://www.careerbuilder.com/jobseeker/jobs/JobDetails.aspx?Job_DID=JN1JZ6VNSQ90HFRCND&lr=cbga_ft&siteid=cbga_ft060') , Array('Floor Tech/Maintenance/Laundry', 'Courtenay Spring', 'FLOOR TECH MAINTENANCE LAUNDRY Days/Even...', 'http://www.careerbuilder.com/jobseeker/jobs/JobDetails.aspx?Job_DID=JN7RL680R9RNJRVWRF&lr=cbga_ft&siteid=cbga_ft060') , Array('Secretary', '', 'Secretary with exp. needed for medical f...', 'http://www.careerbuilder.com/jobseeker/jobs/JobDetails.aspx?Job_DID=JQ8BV6BCN7QSPKXNK2&lr=cbga_ft&siteid=cbga_ft060') , Array('Clinical Coordinator', 'Community Based Care of Brevard', 'Community Based Care of Brevard An innov...', 'http://www.careerbuilder.com/jobseeker/jobs/JobDetails.aspx?Job_DID=JN2SN653HJQSX88TYJ&lr=cbga_ft&siteid=cbga_ft060') , Array('Case Manager/Counselor II', 'Children\'s Home Society', 'Case Manager Counsel individuals and fam...', 'http://www.careerbuilder.com/jobseeker/jobs/JobDetails.aspx?Job_DID=JN78K64CJFZ9RX244S&lr=cbga_ft&siteid=cbga_ft060') , Array('Health Care', '', 'DIETARY MANAGER Full-time dietary servic...', 'http://www.careerbuilder.com/jobseeker/jobs/JobDetails.aspx?Job_DID=JN6KX66SXXHC6ZWWNS&lr=cbga_ft&siteid=cbga_ft060') , Array('Restaurant', 'Life Care Center of Palm Bay', '* COOKS * LEAD COOKS * PREP COOKS * DIET...', 'http://www.careerbuilder.com/jobseeker/jobs/JobDetails.aspx?Job_DID=JN478725QBJQNMLGZM&lr=cbga_ft&siteid=cbga_ft060') , Array('LPN\'s', 'West Melbourne Health & Rehab', 'West Melbourne Health and Rehabilitation...', 'http://www.careerbuilder.com/jobseeker/jobs/JobDetails.aspx?Job_DID=JQ6MT76KK41R7K7FVF&lr=cbga_ft&siteid=cbga_ft060') , Array('CNA\'s', 'West Melbourne Health & Rehab', 'West Melbourne Health and Rehabilitation...', 'http://www.careerbuilder.com/jobseeker/jobs/JobDetails.aspx?Job_DID=JN2ML649Q5Y4TY8362&lr=cbga_ft&siteid=cbga_ft060') , Array('Oncology/Hematology Biller', 'Omni Healthcare, P.A.', 'Has An Opening For The Following Positio...', 'http://www.careerbuilder.com/jobseeker/jobs/JobDetails.aspx?Job_DID=JN46B5Y4YQ2Z7R300L&lr=cbga_ft&siteid=cbga_ft060') , Array('Medical Billing Positions', 'Omni Healthcare, P.A.', 'Has An Opening For The Following Positio...', 'http://www.careerbuilder.com/jobseeker/jobs/JobDetails.aspx?Job_DID=JQ1QP6P7L841GH577W&lr=cbga_ft&siteid=cbga_ft060') , Array('Various Construction/Paving Employment', 'Brewer Paving & Development', 'Brewer Paving and Development Is hiring ...', 'http://www.careerbuilder.com/jobseeker/jobs/JobDetails.aspx?Job_DID=JN0ZH6TRLB1L16T893&lr=cbga_ft&siteid=cbga_ft060') , Array('Assembler', '', 'ASSEMBLER WANTED Seeking reliable, coope...', 'http://www.careerbuilder.com/jobseeker/jobs/JobDetails.aspx?Job_DID=JN8HV6CNQX27T5PNG8&lr=cbga_ft&siteid=cbga_ft060') , Array('Miscellaneous', 'MSS Staffing', 'MSS STAFFING We have immediate openings ...', 'http://www.careerbuilder.com/jobseeker/jobs/JobDetails.aspx?Job_DID=JQ64X5ZN2KGG394PX5&lr=cbga_ft&siteid=cbga_ft060') , Array('Assistant Manager', 'American Eagle', 'ASSISTANT MANAGER For privatized Militar...', 'http://www.careerbuilder.com/jobseeker/jobs/JobDetails.aspx?Job_DID=JQ6SD6NTTKC6K64XGN&lr=cbga_ft&siteid=cbga_ft060') , Array('Banking', 'Indian River National Bank', 'Commercial Lender Local financial instit...', 'http://www.careerbuilder.com/jobseeker/jobs/JobDetails.aspx?Job_DID=JN77G6FC0DG82F2BLY&lr=cbga_ft&siteid=cbga_ft060') , Array('Bookkeeper', '', 'Bookkeeper for Law Firm. Experience Requ...', 'http://www.careerbuilder.com/jobseeker/jobs/JobDetails.aspx?Job_DID=JN2HW6L70Q6D38K4M6&lr=cbga_ft&siteid=cbga_ft060') , Array('Oncology Biller', 'Omni Healthcare, P.A.', 'Has An Opening For The Following Positio...', 'http://www.careerbuilder.com/jobseeker/jobs/JobDetails.aspx?Job_DID=JN5316VQYDY3D3JL95&lr=cbga_ft&siteid=cbga_ft060') , Array('Pastry Chef Adjunct Instructor', 'Keiser College', '*Instructors* KEISER COLLEGE MELBOURNE C...', 'http://www.careerbuilder.com/jobseeker/jobs/JobDetails.aspx?Job_DID=JN4R96YLN9WX1114YZ&lr=cbga_ft&siteid=cbga_ft060') , Array('Heavy Equipment Operators', 'Johnson Brothers, Corporation', 'Johnson Bros. Corporation is looking for...', 'http://www.careerbuilder.com/jobseeker/jobs/JobDetails.aspx?Job_DID=JN682633VF9TPJZYKP&lr=cbga_ft&siteid=cbga_ft060') , Array('RN/LPN', 'Courtenay Springs Village', 'RN /LPN Courtenay Springs Village is loo...', 'http://www.careerbuilder.com/jobseeker/jobs/JobDetails.aspx?Job_DID=JQ7TG7064FLHK77W2W&lr=cbga_ft&siteid=cbga_ft060') , Array('Residential Originator', 'Indian River National Bank', 'Residential Originator Local financial i...', 'http://www.careerbuilder.com/jobseeker/jobs/JobDetails.aspx?Job_DID=JN20F6RYKLJBRBW0LH&lr=cbga_ft&siteid=cbga_ft060') , Array('Scheduling Position', '', 'Merritt Island Surgery Center Scheduling...', 'http://www.careerbuilder.com/jobseeker/jobs/JobDetails.aspx?Job_DID=JN4T06MK0XRMPQZTSF&lr=cbga_ft&siteid=cbga_ft060') , Array('Civil/Env. Engineer', 'Environmental Consulting', 'Civil/ Environmental Engineer Environmen...', 'http://www.careerbuilder.com/jobseeker/jobs/JobDetails.aspx?Job_DID=JN21W75M217J7KHPYJ&lr=cbga_ft&siteid=cbga_ft060') ); // Footer var footer = "

All Top Jobs
About Top Jobs
"; var allFooter = ""; /////////////////////////////////////////////////////////////////////////////////// function display_postings() { // Handle no postings situation if (allPostings.length == 1) { document.write(header); document.write("
Watch for Top Jobs coming to this space soon.

"); document.write(""); return; } if (!FORM_DATA['topjobscount']) { if (!topjobs_count) { var displayCount = 5; } else { var displayCount = topjobs_count; } } else { var displayCount = FORM_DATA['topjobscount']; } // Create target array var displayPostings; var allPostingsCount = allPostings.length; var i; if (displayCount == 99999) { document.write(allHeader); // Remember array entry 0 is placeholder, so start at index 1 for (i = 1; i < allPostingsCount; i++) { if (!allPostings[i][1]) { document.write("" + allPostings[i][0] + "
" + allPostings[i][2] + "

"); } else { document.write("" + allPostings[i][0] + "
" + allPostings[i][1] + "

"); } } document.write(allFooter); } else { // Delete array entry 0 ("placeholder") for (i = 0; i < allPostings.length - 1; i++) allPostings[i] = allPostings[i + 1]; allPostingsCount--; document.write(header); displayPostings = new Array(); while (displayCount > 0 && allPostingsCount > 0) { // Move a random entry from allPostings to displayPostings var targetIndex = Math.floor(Math.random() * allPostingsCount % allPostingsCount); displayPostings[displayPostings.length] = allPostings[targetIndex]; for (i = targetIndex; i < allPostings.length - 1; i++) allPostings[i] = allPostings[i + 1]; allPostingsCount--; displayCount--; } // Display Job Title only if (topjobs_option == 1) { for (i = 0; i < displayPostings.length; i++) { document.write("" + displayPostings[i][0] + "

"); } } // Display Employer Name only. If Employer name does not exist display Job Title else if (topjobs_option == 2) { for (i = 0; i < displayPostings.length; i++) { if (!displayPostings[i][1]) { document.write("" + displayPostings[i][0] + "

"); } else { document.write("" + displayPostings[i][1] + "

"); } } } // Display Description only else if (topjobs_option == 3) { for (i = 0; i < displayPostings.length; i++) { document.write("" + displayPostings[i][2] + "

"); } } // Display Job Title followed by Employer Name. If Employer name does not exist display Job Description else if (topjobs_option == 4) { for (i = 0; i < displayPostings.length; i++) { if (!displayPostings[i][1]) { document.write("" + displayPostings[i][0] + "
" + displayPostings[i][2] + "

"); } else { document.write("" + displayPostings[i][0] + "
" + displayPostings[i][1] + "

"); } } } // Display Job Title followed by Job Description else if (topjobs_option == 5) { for (i = 0; i < displayPostings.length; i++) { document.write("" + displayPostings[i][0] + "
" + displayPostings[i][2] + "

"); } } // Display Employer Name followed by Job Title. If Employer name does not exist display Job Description else if (topjobs_option == 6) { for (i = 0; i < displayPostings.length; i++) { if (!displayPostings[i][1]) { document.write("" + displayPostings[i][2] + "
" + displayPostings[i][0] + "

"); } else { document.write("" + displayPostings[i][1] + "
" + displayPostings[i][0] + "

"); } } } // Display Employer Name followed by Job Description. If Employer name does not exist display Job Title else if (topjobs_option == 7) { for (i = 0; i < displayPostings.length; i++) { if (!displayPostings[i][1]) { document.write("" + displayPostings[i][0] + "
" + displayPostings[i][2] + "

"); } else { document.write("" + displayPostings[i][1] + "
" + displayPostings[i][2] + "

"); } } } // Display Job Description followed by Job Title else if (topjobs_option == 8) { for (i = 0; i < displayPostings.length; i++) { document.write("" + displayPostings[i][2] + "
" + displayPostings[i][0] + "

"); } } // Display Job Description followed by Employer Name. If Employer name does not exist display Job Title else if (topjobs_option == 9) { for (i = 0; i < displayPostings.length; i++) { if (!displayPostings[i][1]) { document.write("" + displayPostings[i][2] + "
" + displayPostings[i][0] + "

"); } else { document.write("" + displayPostings[i][2] + "
" + displayPostings[i][1] + "

"); } } } // Default to Job Title followed by Employer Name. If Employer name does not exist display Job Description else { for (i = 0; i < displayPostings.length; i++) { if (!displayPostings[i][1]) { document.write("" + displayPostings[i][0] + "
" + displayPostings[i][2] + "

"); } else { document.write("" + displayPostings[i][0] + "
" + displayPostings[i][1] + "

"); } } } document.write(footer); } } function createRequestObject() { FORM_DATA = new Object(); // The Object (Array) where our data will be stored. separator = ','; // The token used to separate data from multi-select inputs query = '' + this.location; qu = query // Get the current URL so we can parse out the data. // Adding a null-string '' forces an implicit type cast // from property to string, for NS2 compatibility. query = query.substring((query.indexOf('?')) + 1); // Keep everything after the question mark '?'. if (query.length < 1) { return false; } // Perhaps we got some bad data? keypairs = new Object(); numKP = 1; // Local vars used to store and keep track of name/value pairs // as we parse them back into a usable form. while (query.indexOf('&') > -1) { keypairs[numKP] = query.substring(0,query.indexOf('&')); query = query.substring((query.indexOf('&')) + 1); numKP++; // Split the query string at each '&', storing the left-hand side // of the split in a new keypairs[] holder, and chopping the query // so that it gets the value of the right-hand string. } keypairs[numKP] = query; // Store what's left in the query string as the final keypairs[] data. for (i in keypairs) { keyName = keypairs[i].substring(0,keypairs[i].indexOf('=')); // Left of '=' is name. keyValue = keypairs[i].substring((keypairs[i].indexOf('=')) + 1); // Right of '=' is value. while (keyValue.indexOf('+') > -1) { keyValue = keyValue.substring(0,keyValue.indexOf('+')) + ' ' + keyValue.substring(keyValue.indexOf('+') + 1); // Replace each '+' in data string with a space. } keyValue = unescape(keyValue); // Unescape non-alphanumerics if (FORM_DATA[keyName]) { FORM_DATA[keyName] = FORM_DATA[keyName] + separator + keyValue; //document.write('The value of ' +keyName+ ' is:'+FORM_DATA[keyName]+'
'); // Object already exists, it is probably a multi-select input, // and we need to generate a separator-delimited string // by appending to what we already have stored. } else { FORM_DATA[keyName] = keyValue; //document.write('The value of ' +keyName+ ' is:'+FORM_DATA[keyName]+'
'); // Normal case: name gets value. } } return FORM_DATA; } // MAINLINE FORM_DATA = createRequestObject(); // This is the array/object containing the GET data. // Retrieve information with 'FORM_DATA [ key ] = value'. // Display jobs display_postings();