if(!lastoneAMS ) { var lastoneAMS=1;} else {lastoneAMS=lastoneAMS+1;} //Auto Adjust Frame width and Height var myEventMethod = window.addEventListener ? "addEventListener" : "attachEvent"; var myEventListener = window[myEventMethod]; var myEventMessage = myEventMethod == "attachEvent" ? "onmessage" : "message"; myEventListener(myEventMessage, function (e) { var arrValues = e.data.split(','); var myXAMS_W=parseInt(arrValues[0]); var myXAMS_H=parseInt(arrValues[1]); if (myXAMS_W === parseInt(myXAMS_W)) { //console.log("gott"+myXAMS_W+","+myXAMS_H); document.getElementById('AMSlbIframe').style.height = myXAMS_H + "px"; document.getElementById('AMSWin').style.width = myXAMS_W+"px"; document.getElementById('AMSlbOuterContainer').style.height = "auto"; document.getElementById('AMSlbOuterContainer').style.marginBottom = "4px"; moveto('AMSWin',myXAMS_W); window.onresize=function(){moveto('AMSWin',myXAMS_W)} } //console.log("got"+myXAMS_W+","+myXAMS_H); }, false); var UrlAMS="http://automarksolutions.com/plugin/LSOAMS/?did=1683&vin=KMHD74LF6JU478028&autof=0"; if( typeof lastoneAMSV2 == 'undefined') { var lastoneAMSV2=1;} else {lastoneAMSV2=lastoneAMSV2+1;} if( typeof addAMSStyleV2 == 'undefined') { var addAMSStyleV2="yoo"; var ss1 = document.createElement('style'); var def = '@import url("//im.automarksolutions.com/_amsbox3/AMSlytebox.css");'; ss1.setAttribute("type", "text/css"); var hh1 = document.getElementsByTagName('head')[0]; hh1.appendChild(ss1); if (ss1.styleSheet) { ss1.styleSheet.cssText = def;} else { var tt1 = document.createTextNode(def); ss1.appendChild(tt1);} } if( typeof addAMSjs_lV2 == 'undefined' ) { var addAMSjs_lV2="yoo"; var ss=document.createElement("script"); var scr1="//im.automarksolutions.com/_amsbox3/AMSlytebox.js"; ss.src=scr1; var hh=document.getElementsByTagName("head")[0]; hh.appendChild(ss); } var dataout='
'; document.write(dataout);