var pointSetting = 0; var pointId = new Array(); var pointName = new Array(); var pointX = new Array(); var pointY = new Array(); var mapWindow; var flagRecursion; pointId[0] = ''; pointName[0] = unescapeSJIS(''); pointX[0] = '0.0'; pointY[0] = '0.0'; pointId[1] = ''; pointName[1] = unescapeSJIS(''); pointX[1] = '0.0'; pointY[1] = '0.0'; flagRecursion = false; // od setting var imageFrom = new Array(); var imageTo = new Array(); var loopCount; for (loopCount = 0; loopCount < 3; loopCount++) { imageFrom[loopCount] = new Image(); imageFrom[loopCount].src = "/img/btn_from_" + (loopCount + 1) + ".gif"; imageTo[loopCount] = new Image(); imageTo[loopCount].src = "/img/btn_to_" + (loopCount + 1) + ".gif"; } var settinModeFrom; var settinModeTo; var SETTING_MODE_NONE = 0; // no button var SETTING_MODE_NOW = 1; // point setting var SETTING_MODE_FINISH = 2; // point ok settinModeFrom = (pointName[0] != '' ? SETTING_MODE_FINISH : SETTING_MODE_NONE); settinModeTo = (pointName[1] != '' ? SETTING_MODE_FINISH : SETTING_MODE_NONE); // for asp map (initialized call) function setLoadedMapJs() { var poiLimit = 6000; var figLimit = 12000; var obj = getMapFrameObject(); if (obj) { poiLimit = 200000; obj.contentWindow.setPoiLimitScale(poiLimit); figLimit = 200000; obj.contentWindow.setFigLimitScale(figLimit); initializeCondition(); } } // from asp map function routeStXY(lat, lon, addr) { if (settinModeFrom == SETTING_MODE_NOW) { pointSetting = 0; pointId[pointSetting] = ""; pointName[pointSetting] = addr; pointX[pointSetting] = lon; pointY[pointSetting] = lat; setAllObjectFrom(pointId[pointSetting], "", pointName[pointSetting], pointX[pointSetting], pointY[pointSetting]); settinModeFrom = SETTING_MODE_FINISH; setFromFinish(); } else { routeEdXY(lat, lon); } //alert("start:" + lat + "," + lon); } // from asp map function routeEdXY(lat, lon, addr) { if (settinModeTo == SETTING_MODE_NOW) { pointSetting = 1; pointId[pointSetting] = ""; pointName[pointSetting] = addr; pointX[pointSetting] = lon; pointY[pointSetting] = lat; setAllObjectTo(pointId[pointSetting], "", pointName[pointSetting], pointX[pointSetting], pointY[pointSetting]); settinModeTo = SETTING_MODE_FINISH; setToFinish(); } //alert("goal:" + lat + "," + lon); } // from asp map function setPoint(x, y) { if (opener) { if (opener.document.getElementById('pointx')) { opener.document.getElementById('pointx').value=x; } if (opener.document.getElementById('pointy')) { opener.document.getElementById('pointy').value=y; } } } // from asp map function getPrintHtml() { var obj; var result; var wk; var html; result = ""; wk = ""; obj = document.getElementById('routeresultprint'); if (obj) { html = obj.innerHTML.split("\n"); for (i = 0; i < html.length; i++) { html[i] = html[i].toLowerCase(); if (html[i].indexOf("= 0) { html[i] = ""; } html[i] = html[i].replace("", ""); wk += html[i]; } wk = wk + "\n

この情報は2018/05/21現在のものです。

"; result = wk; } return result; } // from asp map function linkUrl(url) { searchTimetable(url); } function initFrom() { if (document.getElementById('sfgid')) { document.getElementById('sfgid').value = ''; } if (document.getElementById('sfid')) { document.getElementById('sfid').value = ''; } if (document.getElementById('sfx')) { document.getElementById('sfx').value = ''; } if (document.getElementById('sfy')) { document.getElementById('sfy').value = ''; } } function initTo() { if (document.getElementById('stgid')) { document.getElementById('stgid').value = ''; } if (document.getElementById('stid')) { document.getElementById('stid').value = ''; } if (document.getElementById('stx')) { document.getElementById('stx').value = ''; } if (document.getElementById('sty')) { document.getElementById('sty').value = ''; } } function setFrom() { var obj; // already to is setting if (settinModeTo == SETTING_MODE_NOW) { return; } if (settinModeFrom == SETTING_MODE_NONE) { // setting image settinModeFrom = SETTING_MODE_NOW; obj = getMapFrameObject(); if (obj) { obj.contentWindow.setStart(); } } if (settinModeFrom == SETTING_MODE_NOW) { // setting image // document.getElementById('image_from').src = ''; // document.getElementById('image_from').src = imageFrom[1].src; //"/img/btn_from_2.gif"; MM_swapImage('image_from','','/img/btn_from_2.gif',1); } } function setFromFinish() { var obj; if (settinModeFrom == SETTING_MODE_FINISH) { // setting image MM_swapImage('image_from','','/img/btn_from_3.gif',1); // document.getElementById('image_from').src = imageFrom[2].src; //"/img/btn_from_3.gif"; if (document.getElementById('fk_mapframe')) { if (document.getElementById('fk_mapframe').contentWindow.setRouteStIconURL) { document.getElementById('fk_mapframe').contentWindow.setRouteStIconURL('http://odekake.fukuyamap.jp/img/icon_start.gif', 20, 16); } } else { obj = getMapFrameObject(); if (obj) { if (obj.contentWindow.setRouteStIconURL) { obj.contentWindow.setRouteStIconURL('http://odekake.fukuyamap.jp/img/icon_start.gif', 20, 16); // obj.contentWindow.setExit(); } } } } } function clearFrom() { var obj; setAllObjectFrom("", "", "", 0, 0); MM_swapImage('image_from','','/img/btn_from_1.gif',1); // document.getElementById('image_from').src = imageFrom[0].src; //"/img/btn_from_1.gif"; // document.getElementById('msg_from').innerHTML = ""; settinModeFrom = SETTING_MODE_NONE; pointSetting = 0; pointId[pointSetting] = ""; pointName[pointSetting] = ""; pointX[pointSetting] = 0; pointY[pointSetting] = 0; obj = getMapFrameObject(); if (obj) { obj.contentWindow.clearStart(); // obj.contentWindow.setExit(); } } function clearFromWithoutName() { list = document.getElementsByName('sfx'); for (i = 0; i < list.length; i++) { list[i].value = 0; } list = document.getElementsByName('sfy'); for (i = 0; i < list.length; i++) { list[i].value = 0; } list = document.getElementsByName('sfgid'); for (i = 0; i < list.length; i++) { list[i].value = ''; } list = document.getElementsByName('sfid'); for (i = 0; i < list.length; i++) { list[i].value = ''; } } function setTo() { var obj; // already from is setting if (settinModeFrom == SETTING_MODE_NOW) { return; } if (settinModeTo == SETTING_MODE_NONE) { // setting image settinModeTo = SETTING_MODE_NOW; obj = getMapFrameObject(); if (obj) { obj.contentWindow.setGoal(); } } if (settinModeTo == SETTING_MODE_NOW) { // setting image // document.getElementById('image_to').src = ''; // document.getElementById('image_to').src = imageTo[1].src; //"/img/btn_to_2.gif"; MM_swapImage('image_to','','/img/btn_to_2.gif',1); } } function setToFinish() { var obj; if (settinModeTo == SETTING_MODE_FINISH) { // setting image MM_swapImage('image_to','','/img/btn_to_3.gif',1); // document.getElementById('image_to').src = imageTo[2].src; //"/img/btn_to_3.gif"; // document.getElementById('msg_to').innerHTML = "目的地が設定されました。"; if (document.getElementById('fk_mapframe')) { if (document.getElementById('fk_mapframe').contentWindow.setRouteEdIconURL) { document.getElementById('fk_mapframe').contentWindow.setRouteEdIconURL('http://odekake.fukuyamap.jp/img/icon_goal.gif', 20, 16); } } else { obj = getMapFrameObject(); if (obj) { if (obj.contentWindow.setRouteEdIconURL) { obj.contentWindow.setRouteEdIconURL('http://odekake.fukuyamap.jp/img/icon_goal.gif', 20, 16); // obj.contentWindow.setExit(); } } } } } function clearTo() { var obj; setAllObjectTo("", "", "", 0, 0); MM_swapImage('image_to','','/img/btn_to_1.gif',1); // document.getElementById('image_to').src = imageTo[0].src; //"/img/btn_to_1.gif"; // document.getElementById('msg_to').innerHTML = ""; settinModeTo = SETTING_MODE_NONE; pointSetting = 1; pointId[pointSetting] = ""; pointName[pointSetting] = ""; pointX[pointSetting] = 0; pointY[pointSetting] = 0; obj = getMapFrameObject(); if (obj) { obj.contentWindow.clearGoal(); // obj.contentWindow.setExit(); } } function clearToWithoutName() { // set all object list = document.getElementsByName('stx'); for (i = 0; i < list.length; i++) { list[i].value = 0; } list = document.getElementsByName('sty'); for (i = 0; i < list.length; i++) { list[i].value = 0; } list = document.getElementsByName('stgid'); for (i = 0; i < list.length; i++) { list[i].value = ''; } list = document.getElementsByName('stid'); for (i = 0; i < list.length; i++) { list[i].value = ''; } } function setAllObjectFrom(id, gid, nm, x, y) { // set all object list = document.getElementsByName('sfx'); for (i = 0; i < list.length; i++) { list[i].value = x; } list = document.getElementsByName('sfy'); for (i = 0; i < list.length; i++) { list[i].value = y; } list = document.getElementsByName('sfnm'); for (i = 0; i < list.length; i++) { list[i].value = nm; } list = document.getElementsByName('sfgid'); for (i = 0; i < list.length; i++) { list[i].value = gid; } list = document.getElementsByName('sfid'); for (i = 0; i < list.length; i++) { list[i].value = id; } } function setAllObjectTo(id, gid, nm, x, y) { // set all object list = document.getElementsByName('stx'); for (i = 0; i < list.length; i++) { list[i].value = x; } list = document.getElementsByName('sty'); for (i = 0; i < list.length; i++) { list[i].value = y; } list = document.getElementsByName('stnm'); for (i = 0; i < list.length; i++) { list[i].value = nm; } list = document.getElementsByName('stgid'); for (i = 0; i < list.length; i++) { list[i].value = gid; } list = document.getElementsByName('stid'); for (i = 0; i < list.length; i++) { list[i].value = id; } } function getODQueryString() { return "&sfgid=" + pointId[0] + "&sfnm=" + escapeSJIS(pointName[0]) + "&sfx=" + pointX[0] + "&sfy=" + pointY[0] + "&stgid=" + pointId[1] + "&stnm=" + escapeSJIS(pointName[1]) + "&stx=" + pointX[1] + "&sty=" + pointY[1]; } function getOQueryString() { return "&sfgid=" + pointId[0] + "&sfnm=" + escapeSJIS(pointName[0]) + "&sfx=" + pointX[0] + "&sfy=" + pointY[0]; } function getDQueryString() { return "&stgid=" + pointId[1] + "&stnm=" + escapeSJIS(pointName[1]) + "&stx=" + pointX[1] + "&sty=" + pointY[1]; } function openMapWindow(arrayIndex, url) { if (document.getElementById('fk_mapframe')) { logoff('fk_mapframe'); } if (document.getElementById('fk_mapframe' + arrayIndex)) { logoff('fk_mapframe'); } mapWindow = window.open(url, '_self'); return false; } function changeMapWindow(arrayIndex, url) { if (document.getElementById('fk_mapframe')) { document.getElementById("fk_mapframe").src = url; } else if (document.getElementById('fk_mapframe' + arrayIndex)) { document.getElementById("fk_mapframe" + arrayIndex).src = url; } return false; } function openMapWindowParent(arrayIndex, url) { if (opener.document.getElementById('fk_mapframe')) { opener.document.getElementById("fk_mapframe").src = url; } return false; } function openNewWindow(arrayIndex, url, target) { if (document.getElementById('fk_mapframe')) { logoff('fk_mapframe'); } if (document.getElementById('fk_mapframe' + arrayIndex)) { logoff('fk_mapframe'); } mapWindow = window.open(url, target); return false; } function logoff(obj) { if (document.getElementById(obj)) { // var ajax = new Ajax.Request('/machikado/fukuyama_city/logoff.jsp', { method:'get' }); var xmlhttp = createXMLHttpRequest (); if (xmlhttp) { // xmlhttp.onreadystatechange = checkStatusMap; xmlhttp.open ("get", '/machikado/fukuyama_city/logoff.jsp', true); xmlhttp.send (null); } } return true; } function createXMLHttpRequest () { var XMLHttpObject = null; try { XMLHttpObject = new XMLHttpRequest (); } catch (e) { try { XMLHttpObject = new ActiveXObject ("Msxm12.XMLHTTP"); } catch (e) { try { XMLHttpObject = new ActiveXObject ("Microsoft.XMLHTTP"); } catch (e) { return null; } } } return XMLHttpObject; } function displayRouteData(index, mapurl) { if (document.getElementById('routeresult' + index)) { if (document.getElementById('routeresult' + index).style.display == 'none') { document.getElementById('routeresult' + index).style.display = 'block'; document.getElementById("openbtn" + index).src = '/img/btn_minus.gif'; } else { document.getElementById('routeresult' + index).style.display = 'none'; document.getElementById("openbtn" + index).src = '/img/btn_plus.gif'; } } } function displayRouteSearchMap(index, mapurl) { var i; var displayIndex = -1; for (i = 1; i < 999; i++) { if (document.getElementById('fk_mapframe' + i)) { if (document.getElementById('fk_mapframe' + i).style.display != 'none') { displayIndex = i; break; } } else { break; } } // map -> off if (document.getElementById('fk_mapframe' + displayIndex)) { document.getElementById("fk_mapframe" + displayIndex).style.display = 'none'; document.getElementById("fk_mapframe" + displayIndex).src = ''; logoff("fk_mapframe" + displayIndex); } // current route display if (document.getElementById("fk_mapframe" + index)) { if (document.getElementById("fk_mapframe" + index).style.display == 'none') { document.getElementById("fk_mapframe" + index).src = mapurl; document.getElementById("fk_mapframe" + index).style.display = 'block'; } } return false; } function displayLayerMap(index, mapurl) { var i; var displayIndex = -1; for (i = 1; i < 999; i++) { if (document.getElementById('fk_mapframe' + i)) { if (document.getElementById('fk_mapframe' + i).style.display != 'none') { displayIndex = i; break; } } else { // break; } } // map -> off if (document.getElementById('fk_mapframe' + displayIndex)) { document.getElementById("fk_mapframe" + displayIndex).style.display = 'none'; document.getElementById("fk_mapframe" + displayIndex).src = ''; logoff("fk_mapframe" + displayIndex); } // current route display if (document.getElementById("fk_mapframe" + index)) { if (document.getElementById("fk_mapframe" + index).style.display == 'none') { document.getElementById("fk_mapframe" + index).src = mapurl; document.getElementById("fk_mapframe" + index).style.display = 'block'; } } } function getMapFrameObject() { var i; if (document.getElementById("fk_mapframe")) { return document.getElementById("fk_mapframe"); } for (i = 1; i < 999; i++) { if (document.getElementById('fk_mapframe' + i)) { return document.getElementById("fk_mapframe" + i); } } return null; } // 2008/05/19 from function listStationFrom() { var from_keyword = document.getElementById('sfnm').value; var to_keyword = document.getElementById('stnm').value; var to_gid = document.getElementById('stgid').value; var to_x = document.getElementById('stx').value; var to_y = document.getElementById('sty').value; var url = '/routesearchstnl/?&actn=actRs&behvr=stFrom' + '&sfnm=' + EscapeUTF8(from_keyword) + '&stx=' + to_x + '&sty=' + to_y + '&stgid=' + to_gid + '&stnm=' + EscapeUTF8(to_keyword); window.open(url, 'stationlist', newWindowSizeOption720); } function listStationTo() { var from_keyword = document.getElementById('sfnm').value; var from_gid = document.getElementById('sfgid').value; var from_x = document.getElementById('sfx').value; var from_y = document.getElementById('sfy').value; var to_keyword = document.getElementById('stnm').value; var url = '/routesearchstnl/?&actn=actRs&behvr=stTo&sfx=' + from_x + '&sfy=' + from_y + '&sfgid=' + from_gid + '&sfnm=' + EscapeUTF8(from_keyword) + '&stnm=' + EscapeUTF8(to_keyword); window.open(url, 'stationlist', newWindowSizeOption720); } function initializeCondition() { var obj; obj = getMapFrameObject(); if (obj) { if (parseFloat(pointX[0]) > 0) { obj.contentWindow.setStart(); obj.contentWindow.aSys["RtStlon"] = parseFloat(pointX[0]); obj.contentWindow.aSys["RtStlat"] = parseFloat(pointY[0]); obj.contentWindow.xAppendRtPoi(); obj.contentWindow.setRouteStIconURL('http://odekake.fukuyamap.jp/img/icon_start.gif', 20, 16); obj.contentWindow.setExit(); } if (parseFloat(pointX[1]) > 0) { obj.contentWindow.setGoal(); obj.contentWindow.aSys["RtEdlon"] = parseFloat(pointX[1]); obj.contentWindow.aSys["RtEdlat"] = parseFloat(pointY[1]); obj.contentWindow.xAppendRtPoi(); obj.contentWindow.setRouteEdIconURL('http://odekake.fukuyamap.jp/img/icon_goal.gif', 20, 16); obj.contentWindow.setExit(); } } } // 2008/05/19 to function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i= 0x30) && (u <= 0x39)) || ((u >= 0x41) && (u <= 0x5a)) || ((u >= 0x61) && (u <= 0x7a))){ // check for escape s0 = s0 + s; // don't escape } else { // escape if ((u >= 0x0) && (u <= 0x7f)){ // single byte format s = "0"+u.toString(16); s0 += "%"+ s.substr(s.length-2); } else if (u > 0x1fffff){ // quaternary byte format (extended) s0 += "%" + (oxf0 + ((u & 0x1c0000) >> 18)).toString(16); s0 += "%" + (0x80 + ((u & 0x3f000) >> 12)).toString(16); s0 += "%" + (0x80 + ((u & 0xfc0) >> 6)).toString(16); s0 += "%" + (0x80 + (u & 0x3f)).toString(16); } else if (u > 0x7ff){ // triple byte format s0 += "%" + (0xe0 + ((u & 0xf000) >> 12)).toString(16); s0 += "%" + (0x80 + ((u & 0xfc0) >> 6)).toString(16); s0 += "%" + (0x80 + (u & 0x3f)).toString(16); } else { // double byte format s0 += "%" + (0xc0 + ((u & 0x7c0) >> 6)).toString(16); s0 += "%" + (0x80 + (u & 0x3f)).toString(16); } } } } return s0; } // decode for UTF-8 function decodeURL(str){ var s0, i, j, s, ss, u, n, f; s0 = ""; // decoded str for (i = 0; i < str.length; i++){ // scan the source str s = str.charAt(i); if (s == "+"){s0 += " ";} // "+" should be changed to SP else { if (s != "%"){s0 += s;} // add an unescaped char else{ // escape sequence decoding u = 0; // unicode of the character f = 1; // escape flag, zero means end of this sequence while (true) { ss = ""; // local str to parse as int for (j = 0; j < 2; j++ ) { // get two maximum hex characters for parse sss = str.charAt(++i); if (((sss >= "0") && (sss <= "9")) || ((sss >= "a") && (sss <= "f")) || ((sss >= "A") && (sss <= "F"))) { ss += sss; // if hex, add the hex character } else {--i; break;} // not a hex char., exit the loop } n = parseInt(ss, 16); // parse the hex str as byte if (n <= 0x7f){u = n; f = 1;} // single byte format if ((n >= 0xc0) && (n <= 0xdf)){u = n & 0x1f; f = 2;} // double byte format if ((n >= 0xe0) && (n <= 0xef)){u = n & 0x0f; f = 3;} // triple byte format if ((n >= 0xf0) && (n <= 0xf7)){u = n & 0x07; f = 4;} // quaternary byte format (extended) if ((n >= 0x80) && (n <= 0xbf)){u = (u << 6) + (n & 0x3f); --f;} // not a first, shift and add 6 lower bits if (f <= 1){break;} // end of the utf byte sequence if (str.charAt(i + 1) == "%"){ i++ ;} // test for the next shift byte else {break;} // abnormal, format error } s0 += String.fromCharCode(u); // add the escaped character } } } return s0; } EscapeEUCJP=function(str){ return str.replace(/[^*+.-9A-Z_a-z-]/g,function(s){ var c=s.charCodeAt(0); return (c<128?(c<16?"%0":"%")+c.toString(16):65376>10]+B[c>>4&63]+B[(c&15)<<2|(c=s.charCodeAt(1))>>14]+(0<=c?B[c>>8&63]+B[c>>2&63]+B[(c&3)<<4|(c=s.charCodeAt(2))>>12]+(0<=c?B[c>>6&63]+B[c&63]:""):"") }, re=new RegExp;re.compile("[^+]{1,3}","g"); return (str+"g").replace(/[^*+.-9A-Z_a-z-]+[*+.-9A-Z_a-z-]|[+]/g,function(s){ if("+"==s)return "+-"; var l=s.length-1,w=s.charAt(l); return "+"+s.substring(0,l).replace(re,E)+("+"==w?"-+-":"*"==w||"."==w||"_"==w?w:"-"+w) }).slice(0,-1) }; UnescapeUTF7=function(str){ var i=0,B={}; while(i<64)B["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(i)]=i++; return str.replace(RegExp("[+][+/-9A-Za-z]*-?","g"),function(s){ if("+-"==s)return "+"; var b=B[s.charAt(1)],c,i=1,t=""; while(0<=b){ if((c=i&7)<6)c=c<3?b<<10|B[s.charAt(++i)]<<4|(b=B[s.charAt(++i)])>>2:(b&3)<<14|B[s.charAt(++i)]<<8|B[s.charAt(++i)]<<2|(b=B[s.charAt(++i)])>>4; else{c=(b&15)<<12|B[s.charAt(++i)]<<6|B[s.charAt(++i)];b=B[s.charAt(++i)]} if(c)t+=String.fromCharCode(c) } return t }) }; EscapeUTF8=function(str){ return str.replace(/[^*+.-9A-Z_a-z-]/g,function(s){ var c=s.charCodeAt(0); return (c<16?"%0"+c.toString(16):c<128?"%"+c.toString(16):c<2048?"%"+(c>>6|192).toString(16)+"%"+(c&63|128).toString(16):"%"+(c>>12|224).toString(16)+"%"+(c>>6&63|128).toString(16)+"%"+(c&63|128).toString(16)).toUpperCase() }) }; UnescapeUTF8=function(str){ return str.replace(/%(E(0%[AB]|[1-CEF]%[89AB]|D%[89])[0-9A-F]|C[2-9A-F]|D[0-9A-F])%[89AB][0-9A-F]|%[0-7][0-9A-F]/ig,function(s){ var c=parseInt(s.substring(1),16); return String.fromCharCode(c<128?c:c<224?(c&31)<<6|parseInt(s.substring(4),16)&63:((c&15)<<6|parseInt(s.substring(4),16)&63)<<6|parseInt(s.substring(7),16)&63) }) }; EscapeUTF16LE=function(str){ var H=function(c){ return 41>8) }) }; UnescapeUTF16LE=function(str){ var u=String.fromCharCode,b=u(92,120,48,48,45,92,120,70,70); return str.replace(/^%FF%FE/i,"").replace(RegExp("%[0-9A-F]{2}%[0-9A-F]{2}|%[0-9A-F]{2}["+b+"]|["+b+"]%[0-9A-F]{2}|["+b+"]{2}","ig"),function(s){ var l=s.length; return u(4>2){T="UTF8";i+=4;continue} } if(142==c&&161<=C&&C<224){if(!T)T="EUCJP";if("EUCJP"==T)continue} if(c<161)return "SJIS"; if(c<224&&!T) if((164==c&&C<244||165==c&&C<247)&&161<=C)i+=2; else T=224<=C?"EUCJP":"SJIS"; else T="EUCJP" } return T?T:"EUCJP" }; // new window size var newWindowSizeOption720 = 'width=720,height=600,menubar=no,toolbar=no,location=no,status=no,resizable=no,scrollbars=yes'; var newWindowSizeOption840 = 'width=840,height=600,menubar=no,toolbar=no,location=no,status=no,resizable=no,scrollbars=yes'; var newWindowSizeOption960 = 'width=960,height=600,menubar=no,toolbar=no,location=no,status=no,resizable=no,scrollbars=yes';