var MM_contentVersion = 6;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if ( plugin ) {
var words = navigator.plugins["Shockwave Flash"].description.split(" ");
for (var i = 0; i < words.length; ++i) {
if (isNaN(parseInt(words[i])))
continue;
var MM_PluginVersion = words[i];
}
var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
FlashMode = 0;
if (navigator.plugins && navigator.plugins.length > 0) {
if (navigator.plugins["Shockwave Flash"]) {
var plugin_version = 0;
var words = navigator.plugins["Shockwave Flash"].description.split(" ");
for (var i = 0; i < words.length; ++i) {
if (isNaN(parseInt(words[i])))
continue;
plugin_version = words[i];
}
if (plugin_version >= MM_contentVersion) {
var plugin = navigator.plugins["Shockwave Flash"];
var numTypes = plugin.length;
for (j = 0; j < numTypes; j++) {
mimetype = plugin[j];
if (mimetype) {
if (mimetype.enabledPlugin && (mimetype.suffixes.indexOf("swf") != -1)) // Mac wierdness
FlashMode = 1;
if (navigator.mimeTypes["application/x-shockwave-flash"] == null)
FlashMode = 0;
}
}
}
}
}
if (FlashMode == 1)
var MM_FlashCanPlay = true;
else
var MM_FlashCanPlay = false;
} else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.appVersion.indexOf("Win") != -1)) {
document.write(' \n'); //FS hide this from IE4.5 Mac by splitting the tag
document.write('on error resume next \n');
document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
document.write(' \n');
}
function RunFlashNav(host,design,version,flashParams) {
document.write(' ');
}
function RunFlashHeader(flashParams,size) {
var swf_path = 'http://images.traderonline.com/img/eg/design/realorange/swf/';
if (size == 'sm') {
var width = '146';
var which_swf = 'eg_flashtitle_r.swf';
} else if (size == 'lg') {
var width = '350';
var which_swf = 'pageheaders_350w.swf';
} else {
var width = '606';
var which_swf = 'pageheaders.swf';
}
document.write(' ');
}
function RunFlashMap(flashParams) {
var swf_path = 'http://images.traderonline.com/img/eg/swf/';
document.write(' ');
}
// this function is for the flash headers in post a job
function RunFlashPAJ(flashText,size,price) {
var swf_path = 'http://images.traderonline.com/img/eg/swf/';
if (size == 'sm') {
// small is not currently being used
var width = '218';
var which_swf = 'paj_sm_header.swf';
} else if (size == 'lg') {
var width = '477';
var which_swf = 'paj_lg_header.swf';
} else {
var width = '477';
var which_swf = 'paj_lg_header_price.swf';
var flashText = flashText + '&theprice=$' + price;
}
var flashParams = '?thetext=' + flashText + '&fntclr=%20E07020&';
document.write(' ');
}
// this is used one time on the button spec page
function RunFlashImage() {
document.write(' ');
}
// two flash navs on the ad detail page
function RunFlashDetail(which,flashParams,server) {
var swf_path = 'http://' + server + '/';
if (which == 'top') {
var which_swf = 'job_posting_nav_9.swf';
var height = '40';
} else {
var which_swf = 'job_posting_nav_btm_14.swf';
var height = '31';
}
document.write(' ');
}
/* New headers for EG redesign */
function RunFlashHeader2(flashParams,size) {
var swf_path = 'http://images.traderonline.com/img/eg/design/scutch/flash/new_flashheaders/';
if (size == 'sm') {
var width = '275';
var which_swf = 'pageheaders_350w_new.swf';
} else if (size == 'lg') {
var width = '350';
var which_swf = 'pageheaders_350w_new.swf';
} else if (size == 'md') {
var width = '400';
var which_swf = 'pageheaders_400w_new.swf';
} else {
var width = '500';
var which_swf = 'pageheaders_500w_new.swf';
}
document.write(' ');
}
// flash USMap
function RunFlashUSMap(flashParams)
{
var swf_path = 'http://images.traderonline.com/img/eg/design/scutch/flash/';
document.write(' ');
}