function RunFlashFPA() {
var swf_path = '/';
document.write(' ');
}
/**/
function RunFlashSubMag() {
var swf_path = '/';
document.write(' ');
}
function RunFlashSubProcMag() {
var swf_path = '/';
document.write('
');
document.write(' ');
document.write('
');
}
function RunFlashTOPNAV() {
var swf_path = 'http://images.traderonline.com/img/cctol/flash/05homepage/';
document.write(' ');
}
function RunFlashDealerTOPNAV() {
var swf_path = 'http://images.traderonline.com/img/cctol/flash/';
document.write(' ');
}
function RunFlashRightMags() {
var swf_path = 'http://images.traderonline.com/img/cctol/flash/05homepage/';
document.write(' ');
}
//This replaces code on dealersearch.templ as a workaround for the IE ActiveX popupbox
function dealerMap(flashPath) {
var flashPath ;
document.write('');
}
//copied from automart reposition chhoward
window.onresize = rePos;
//begin repositioning code - copied from automart chhoward
var isDHTML = 0;
var isLayers = 0;
var isAll = 0;
var isID = 0;
if (document.getElementById) {
isID = 1; isDHTML = 1;
} else {
if (document.all) {
isAll = 1; isDHTML = 1;
}
}
function findDOM(objectID,withStyle) {
if (withStyle == 1) {
if (isID) {
return (document.getElementById(objectID).style) ;
}
else {
if (isAll) {
return (document.all[objectID].style);
}
}
}
else {
if (isID) {
return (document.getElementById(objectID));
}
else {
if (isAll) {
return (document.all[objectID]);
}
}
}
}
function findBottom(objectID) {
var domStyle = findDOM(objectID,1);
var dom = findDOM(objectID,0);
if (domStyle.top)
return (domStyle.top + domStyle.clip.height);
if (domStyle.pixelTop)
return (domStyle.pixelTop + dom.offsetHeight);
if (dom.offsetTop)
return (dom.offsetTop + dom.offsetHeight);
return (null);
}
function rePos() {
var domStyle = findDOM('txtarea',1);
bottomPos = 800;//findBottom('racklayout') + 10;
var domStyle2 = findDOM('bottom',1);
var docWidth = document.getElementById("body").offsetWidth;
if(docWidth > 1015) {
domStyle.top = 150;
domStyle.left = 770;
//var offsetRight = docWidth - 800;
domStyle.width = 215;
domStyle.background = "url(http://images.automart.com/imgs/design/ag/agonyx/autoblue/1024-shadow-tile.gif) repeat-y #ffffff";
domStyle2.top = bottomPos - 10;
} else {
domStyle.top = bottomPos;
domStyle.left = 10;
domStyle.width = 760;
domStyle.background = "#ffffff";
var idHeight = document.getElementById("txtarea").offsetHeight;
var botHeight = idHeight + bottomPos;
var domStyle2 = findDOM('bottom',1);
domStyle2.top = botHeight;
}
}
//end repositioning code
//