/*
 * minified javascript file
 * http://my2010.suzukiauto.com/_cj/360s.js
 */


var jOverlay360;var jLightbox360;var lightboxWidth360=530;var lightboxHeight360=430;var popUpID=3;var lightboxZindex=9999998;var f360SWF="";var f360SWF_xml="";var cab_type=last_cab_type="";var f360=null;$(function(){jLightbox360=$('#quickbox');jOverlay360=$('<div>').attr('id','overlay').css({position:'absolute',top:0,left:0,zIndex:lightboxZindex-1,width:'100%'}).insertAfter(jLightbox360);});var displayLightbox360=function(on){var display=on?'block':'none';var arrayPageSize=getPageSize360();if(!on){jOverlay360.css('display',display);jLightbox360.css('display',display);return;}
var winWidth=arrayPageSize[0];var winHeight=arrayPageSize[1];var xScroll=arrayPageSize[2];var yScroll=arrayPageSize[3];var xOffset=(lightboxWidth360)/2+xScroll;var yOffset=(lightboxHeight360)/2+yScroll;jOverlay360.css('height','100%').css('width','100%').unbind('click').click(function(){displayLightbox360(false);return false;}).css('display',display).bgiframe();jLightbox360.css('left',xOffset).css('top',yOffset).css('display',display);if(f360SWF!=""&&f360==null){loadSWF();}}
function loadSWF(){f360=new SWFObject(f360SWF,"flash-360","500","400","9","#cccccc");f360.addVariable("config",f360SWF_xml+cab_type);f360.addParam("wmode","transparent");f360.addParam("quality","high");f360.addParam("allowScriptAccess","always");f360.write("quickflashcontainer");}
$(function(){var path=window.location.href.substr(window.location.href.indexOf("/",8)+1);});function displayPopup(){jLightbox360.css('width',lightboxWidth360);if(f360SWF!=""&&last_cab_type!=cab_type){loadSWF();}
last_cab_type=cab_type;displayLightbox360(true);}
function f_filterResults360(n_win,n_docel,n_body){var n_result=n_win?n_win:0;if(n_docel&&(!n_result||(n_result>n_docel)))
n_result=n_docel;return n_body&&(!n_result||(n_result>n_body))?n_body:n_result;}
function getPageSize360(){var windowWidth,windowHeight,xScroll,yScroll;yScroll=f_filterResults360(window.pageYOffset?window.pageYOffset:0,document.documentElement?document.documentElement.scrollTop:0,document.body?document.body.scrollTop:0);xScroll=f_filterResults360(window.pageXOffset?window.pageXOffset:0,document.documentElement?document.documentElement.scrollLeft:0,document.body?document.body.scrollLeft:0);windowWidth=f_filterResults360(window.innerWidth?window.innerWidth:0,document.documentElement?document.documentElement.clientWidth:0,document.body?document.body.clientWidth:0);windowHeight=f_filterResults360(window.innerHeight?window.innerHeight:0,document.documentElement?document.documentElement.clientHeight:0,document.body?document.body.clientHeight:0);arrayPageSize=new Array(windowWidth,windowHeight,xScroll,yScroll);return arrayPageSize;}