var items = new Array(); var n1m = 0; var hours = 0; var total = 0; var OrdWin2 = ""; var n1w = '', n3w = '', n4w = '', n6w = '', n10w = '', n13w = '', n20w = '', scrapper2 = '', scrapper20a = ''; var nu = navigator.userAgent; var tboxsize = 2; if (nu.indexOf("MSIE") != -1 && nu.indexOf("Mac") == -1 && nu.indexOf("Opera") == -1) { tboxsize = 1; } var macmatch = 0, uamatch = 0; if (nu.indexOf("Mac") != -1 && nu.indexOf("AOL") == -1 && nu.indexOf("MSIE 4.0") != -1) { macmatch = 1; } if (nu.indexOf("MSIE") != -1 && nu.indexOf("Opera") == -1) { if (!macmatch) { uamatch = 1; } if (nu.indexOf("MSIE 9.") != -1 || nu.indexOf("MSIE 1") != -1 || nu.indexOf("Trident/") != -1) { uamatch = 2; } } else if (nu.indexOf("Gecko") != -1 || nu.indexOf("Opera") != -1 || nu.indexOf("Konqueror") != -1) { if (nu.indexOf("Linux") == -1 || (nu.indexOf("Opera/6.") == -1 && nu.indexOf("Opera / 6") == -1)) { uamatch = 2; } } else if (nu.indexOf("Mozilla/4.") != -1) { if (nu.indexOf("Mac") == -1) { uamatch = 3; } } var OW = ""; var AOW2 = ''; var win_sz, win_id; var qd24 = "tomato"; var qd33 = "ground spices"; var qd30 = "green peppers"; var qd22 = "dr. pepper"; var qd17 = "mango juice"; var qd7 = "keema naan"; var qd32 = "onions"; var qd19 = "mineral water"; var qd8 = "chicken 65"; var qd25 = "gravy"; var qd20 = "coke"; var qd5 = "cheese pakora"; var qd21 = "diet coke"; var qd14 = "lassi (sweet)"; var qd1 = "samosa"; var qd9 = "mirchi bajji"; var qd3 = "monsoon grill sampler (veggie)"; var qd15 = "flavored lassi (mango)"; var qd26 = "ginger"; var qd18 = "orange juice"; var qd16 = "flavored lassi (strawberry)"; var qd23 = "sprite"; var qd6 = "amritsari fish (delicasy from the north)"; var qd28 = "black pepper"; var qd12 = "tikki chaat"; var qd2 = "mixed veggie pakoras"; var qd27 = "garlic"; var qd11 = "chaat papari"; var qd13 = "lassi (salted)"; var qd4 = "monsoon grill sampler (non-veggie)"; var qd10 = "monsoon peppery chicken"; var qd31 = "tomatoes"; var qd29 = "cottage cheese"; var dq15, dq3, c2, dq14, ar_len001, dq12, dq4, dq10, ar_len011, dq1, dq2, ar_len031, dq7, c_h0, dq16, dq13, dq5, c1p, c_h2, n_2, c2p, ck0, n_1, dq9, c0, ar_len021, dq6, dq11, c_h1, n_0, c0p, ar_len000, ck2, c1, dq8, ck1, op, needle, oP, mimic, w1d, w1h, icol_a, icol_b, subprice, prearray, p1n, winqty, svhn = 0, callcent = 0, callcomcent1 = "Comment", callcomcent2 = 0, totalcost = 0, delchrg = 0, franco = 0, drop_titl = 0, drop_oclk = 0, full_scrn = 0, site_wnmr = 0, drop_hovr = 0, drop_slim = 0, drop_prob = 0, drop_save = 0, addrcent = 0, cker1 = 0, bsite = "", csite = "", urlsitus = "", urlsitus2 = "", cthru = 0, cthruleft = 0, extracthru = 0, extracthruleft = 0, sitecmnt = 0, menuforward = 0, newdivstyle = 0, imgx = 0, deeon = 0, orvse = 0, ppp1 = 0, mphone = 0, menuoff = 0, menuoff2 = "", weaccept1 = "", sizefull = 0, sizefull2 = 0, sizefull3 = 0, sizefuller2 = 0, freep2 = 0, freep3 = 0, freep4 = 0, forced2 = 0, forced3 = 0, forced4 = 0, forced5 = 0, forced6 = 0, roundh2 = 0, roundh3 = 0, roundh4 = 0, roundh5 = 0, roundh6 = 0, roundh7 = 0, newlook = 0, popupless = 0, lpast = 0, newshowhide = 0, csspop = 0, csspopup = 1, csscolumn = 0, newdivstyler = 0, scrapper = 0, tampm = '', newlookphone = 0, qlessi = "", qlessd = "", qlesss = "", numcnt = 0, numcnt2 = 0, keep = -1, logcustom = 0, logstring = "", logcuser = "", rfrming = 1, alertchk = 0, nomen = "", nomon = "", ineo = "", ineon = "", calmod = "", datelist = "", datestr = "", datearg = "", dateprearg = "", mphonevar = 0, chromevar = 0, pckaobj, json2fds, taxvar = 1.0895; var superqty, ropez; var extras1_0 = new Array(qd1, qd2, qd3, qd4, qd5, qd6, qd7, qd8, qd9, qd10, qd11, qd12); var extras1_0p = new Array(5.00, 6.00, 8.00, 9.00, 8.00, 9.00, 5.00, 9.00, 6.00, 7.00, 6.00, 6.00); var extras2_0 = new Array(qd13, qd14, qd15, qd16, qd17, qd18, qd19, qd20, qd21, qd22, qd23); var extras2_0p = new Array(3.00, 2.95, 4.00, 4.00, 3.00, 3.00, 2.00, 2.00, 2.00, 2.00, 2.00); var with676_0 = new Array(qd24, qd25, qd26, qd27, qd28); var with44_0 = new Array(qd29, qd30, qd31, qd32, qd33); function visvals() { if (document.getElementById('visphon') != null) { document.getElementById('visphon').innerHTML = '(785) 783-7776'; } if (document.getElementById('visaddr') != null) { document.getElementById('visaddr').innerHTML = '2040 Sw Wanamaker Rd'; } if (document.getElementById('viscity') != null) { document.getElementById('viscity').innerHTML = 'Topeka'; } if (document.getElementById('visstat') != null) { document.getElementById('visstat').innerHTML = 'KS'; } if (document.getElementById('visname') != null) { document.getElementById('visname').innerHTML = 'Monsoon Grill'; } //fix this if (document.getElementById('vishomeurl') != null) { document.getElementById('vishomeurl').innerHTML = ''; } } function getOffsetRect(elem) { // (1) var box = elem.getBoundingClientRect(); var body = document.body; var docElem = document.documentElement; // (2) var scrollTop = window.pageYOffset || docElem.scrollTop || body.scrollTop; var scrollLeft = window.pageXOffset || docElem.scrollLeft || body.scrollLeft; // (3) var clientTop = docElem.clientTop || body.clientTop || 0; var clientLeft = docElem.clientLeft || body.clientLeft || 0; // (4) var top = box.top + scrollTop - clientTop; var left = box.left + scrollLeft - clientLeft; return { top: Math.round(top), left: Math.round(left) }; } var jquerychk = 0, jquerycook = 0; var checkjQuery = function() { if (!window.jQuery && jquerychk < 50) { jquerychk++; return false; } else if (!jQuery.cookie && jquerychk < 50) { if (!jquerycook) { jquerycook++; jqcookload(); } jquerychk++; return false; } else { clearTimeout(jqinterval); grabord(); } } var jqinterval= setInterval(checkjQuery,400); (function() { var srcfile, jsfile; if (!window.jQuery) { srcfile = "/icons/js/jquery-1.7.1.min.js"; jsfile = document.createElement('script'); jsfile.setAttribute("type","text/javascript"); jsfile.setAttribute("src",srcfile); document.getElementsByTagName("head")[0].appendChild(jsfile); } var jnug = navigator.userAgent; if (jnug.indexOf("MSIE") != -1 && jnug.indexOf("MSIE 9") == -1 && jnug.indexOf("MSIE 1") == -1) { srcfile = "/icons/js/json2.js"; jsfile = document.createElement('script'); jsfile.setAttribute("type","text/javascript"); jsfile.setAttribute("src",srcfile); document.getElementsByTagName("head")[0].appendChild(jsfile); } })(); function jqcookload() { if (!jQuery.cookie) { srcfile = "/icons/js/jquery.cookie.js"; jsfile = document.createElement('script'); jsfile.setAttribute("type","text/javascript"); jsfile.setAttribute("src",srcfile); document.getElementsByTagName("head")[0].appendChild(jsfile); } } var timeobj = ''; var timenowobj = ''; function sveord() { var ltrns = 'ENG'; if (!localStorage) { $.cookie('eatord1001702',JSON.stringify(items), {expires: 1, path : '/' }); } else { localStorage.setItem('eatord1001702',JSON.stringify(items)); timeobj = { itmtime: new Date().getTime() }; localStorage.setItem('eattime1001702',JSON.stringify(timeobj)); localStorage.setItem('langtrans1001702',JSON.stringify(ltrns)); } } function grabord() { var pieitems,pienum,langtrans,clang; clang = 'ENG'; if (!ropez) { if (!localStorage) { if ($ && $.cookie && JSON.parse($.cookie('eatord1001702'))) { items = JSON.parse($.cookie('eatord1001702')); } } else { pieitems = JSON.parse(localStorage.getItem('eatord1001702')); langtrans = JSON.parse(localStorage.getItem('langtrans1001702')); if (pieitems && pieitems[1]) { pienum = pieitems.length - 1; items = new Array(); piecount = 1; for (var i=1;i<=pienum;i++) { if (pieitems[i] && pieitems[i].code && pieitems[i].code < 95000) { items[piecount++] = pieitems[i]; } } } timeobj = JSON.parse(localStorage.getItem('eattime1001702')); timenowobj = new Date().getTime().toString(); if (timeobj && timeobj.itmtime != null) { if (timenowobj > timeobj.itmtime + 7200000 || clang != langtrans) { items = ''; } } } if (items && items[1]) { n1m = items.length - 1; displaymenuorder(); } else { items = new Array(); } } } var ld3 = ""; var ld1 = ""; var ld2 = ""; var wu2 = ""; var wu3 = ""; var wu1 = ""; var wq1 = ''; var wq2 = ''; function namehasher() { var mixx; ld3 = "Comes with "; ld1 = "Appetizers "; ld2 = "Beverages "; wu2 = "
Beverages: "; wu3 = "
Without: "; wu1 = "
Appetizers: "; cx1 = ' CHECKED'; cx2 = ' value=1'; wq1 = '
With: '; wq2 = '
w/: '; return 1; } function chkstr(idelm,idmax) { var digits = "0123456789"; var result = ''; var sh = OW.document; var elm,chgval; var test = 0; var chgval = sh.getElementById(idelm).value; for (var i = 0; i < chgval.length; i++) { c = chgval.charAt(i); if (digits.indexOf(c) != -1) { if (!test) { if (c != 0) { test++; } else { continue; } } result = "" + result + c; } } if (!result || result == null) { result = 0; } if (idmax > 1 && result > idmax) { result = idmax; } if (result > 100) { result = 1; } sh.getElementById(idelm).value = result; return true; } function goanchor(id) { if (id) { location.hash ='#' + id; } } function qlessing(qlpos,qljay,qlfds) { var qreti = ""; if (!qlfds) { qreti = fds[qlpos][3]; qreti = qreti.replace(/'/g,"’"); qreti = qreti.replace(/"/g,"”"); return qreti; } else if (qlfds == 1) { qreti = fds[qlpos][4]; qreti = qreti.replace(/'/g,"’"); qreti = qreti.replace(/"/g,"”"); return qreti; } else if (qlfds == 2) { qljay = qljay - 0; if (fds[qlpos][qljay+5]) { qreti = fds[qlpos][qljay+5]; qreti = qreti.replace(/'/g,"’"); qreti = qreti.replace(/"/g,"”"); qreti = " - " + qreti; return qreti; } else { return ""; } } return ""; } logcustom = "https://www.eatkey.com/apps/EatCustomer/?rids=1001702&hubco=&menuturn=0&situs=monsoonindiangrill&franco=1&csite=order.monsoonindiangrill.com&ck="; logstring = ""; weaccept1 = "WE ACCEPT VISA, MASTERCARD, AMERICAN EXPRESS AND DISCOVER"; function posOflex() { } function lT2(lF, lC, lN) { if (lF.value.length > lN) { lF.value = lF.value.substring(0, lN); } else { lC.value = lN - lF.value.length; } } function openPreOrderWin(id) { var tmpQty = 0, qtyObjCount = 0; totalcost = 0; var sh = parent.document; if (ppp1 != 1) { updatemenuorder(1); } for (var i = 1;i <= n1m; i++) { totalcost += (items[i].price * items[i].quantity); tmpQty = 0; if (n1m == 1) { tmpQty = parseInt(sh.forms[0].qty.value); } else { qtyObjCount = 0; for (var j = 1; j <= sh.forms[0].elements.length-3; j++) { if (sh.forms[0].elements[j-1].name != "qty") { continue; } else { qtyObjCount++; if (qtyObjCount == i) { tmpQty = parseInt(sh.forms[0].elements[j-1].value); break; } } } } if (isNaN(tmpQty)) { alert("You Inadvertantly Entered a Blank Space or a Letter in the Quantity Box for Item Number " + i + ". Please Re-enter a Number."); return; } if (tmpQty < 0) { alert("Please Do Not Order Negative Numbers of Food Items."); return; } if ((tmpQty * items[i].price) != (items[i].quantity * items[i].price)) { alert("Please Hit the Update Button and then Hit the Order Button Again."); return; } } openPreOrderWin1(id); } function openPreOrderWin1(id,id2) { var wdt = 475; var sh = parent.document; if (callcent == 1) { if (!ordersubmit()) { return; } } if (id == -1) { sh.forms[0].method = 'post'; sh.forms[0].target = '_parent'; sh.forms[0].submit(); return; } if (id) { wdt += 25; } var jh = screen.availHeight; jh = jh - (jh / 8); jh = Math.round(jh); if (OrdWin2 && !OrdWin2.closed) { OrdWin2.close(); } OrdWin2 = window.open("","preOrderWin","location=yes,toolbar=yes,menubar=yes,resizable=yes,scrollbars=yes,width=" + wdt + ",height=" + jh + ",screenX=20,screenY=0"); if (!id) { sh.forms[0].submit(); } } function openPreOrderWin2(id) { var sh = parent.document; if (sh.forms != null && sh.forms[0]) { if (!id || id == null) { if (n1m) { sh.forms[0].action = 'https://www.eatkey.com/apps/EatCustomer/?rids=1001702&menu2=0&hubco=&menuturn=0&situs=monsoonindiangrill&franco=1&csite=order.monsoonindiangrill.com&ck=&inside=1'; } else { sh.forms[0].action = 'https://www.eatkey.com/apps/EatCustomer/?rids=1001702&menu2=0&hubco=&menuturn=0&situs=monsoonindiangrill&franco=1&csite=order.monsoonindiangrill.com&ck='; } } else { if (id != 3) { if (franco == 1) { if (cker1 == 1) { if (n1m) { sh.forms[0].action = 'https://www.eatkey.com/apps/EatCustomer/?rids=1001702&menu2=0&hubco=&menuturn=0&situs=' + bsite + '&csite=' + csite + '&franco=1&ck=1&inside=1'; } else { sh.forms[0].action = 'https://www.eatkey.com/apps/EatCustomer/?rids=1001702&menu2=0&hubco=&menuturn=0&situs=' + bsite + '&csite=' + csite + '&franco=1&ck=1'; } } else { if (n1m) { sh.forms[0].action = 'https://www.eatkey.com/apps/EatCustomer/?rids=1001702&menu2=0&hubco=&menuturn=0&situs=' + bsite + '&csite=' + csite + '&franco=1&ck=&inside=1'; } else { sh.forms[0].action = 'https://www.eatkey.com/apps/EatCustomer/?rids=1001702&menu2=0&hubco=&menuturn=0&situs=' + bsite + '&csite=' + csite + '&franco=1&ck='; } } } else { if (cker1 == 1) { if (n1m) { sh.forms[0].action = 'https://www.eatkey.com/apps/EatCustomer/?rids=1001702&menu2=0&hubco=&menuturn=0&situs=monsoonindiangrill&franco=1&csite=order.monsoonindiangrill.com&ck=1&inside=1'; } else { sh.forms[0].action = 'https://www.eatkey.com/apps/EatCustomer/?rids=1001702&menu2=0&hubco=&menuturn=0&situs=monsoonindiangrill&franco=1&csite=order.monsoonindiangrill.com&ck=1'; } } else { if (n1m) { sh.forms[0].action = 'https://www.eatkey.com/apps/EatCustomer/?rids=1001702&menu2=0&hubco=&menuturn=0&situs=monsoonindiangrill&franco=1&csite=order.monsoonindiangrill.com&ck=&inside=1'; } else { sh.forms[0].action = 'https://www.eatkey.com/apps/EatCustomer/?rids=1001702&menu2=0&hubco=&menuturn=0&situs=monsoonindiangrill&franco=1&csite=order.monsoonindiangrill.com&ck='; } } } } } sh.forms[0].method = 'post'; sh.forms[0].target = '_parent'; sh.forms[0].submit(); } else { top.location.href = 'https://www.eatkey.com/apps/EatCustomer/?rids=1001702&menu2=0&hubco=&menuturn=0&situs=monsoonindiangrill&franco=1&csite=order.monsoonindiangrill.com&ck='; } } function updatemenuorder(id) { var sh = parent.document; var test = 0, tmpQty = 0, itmlmt = 0, qtyObjCount = 0; if (id && popupless == 1) { return true; } if (n1m > 0 && callcent == 1 && callcomcent2 == 1 && sitecmnt == 0) { callcomcent1 = sh.forms[0].comments.value; } for (var i=1;i<=n1m;i++) { tmpQty = 0; if (n1m == 1) { tmpQty = parseInt(sh.forms[0].qty.value); } else { qtyObjCount = 0; for (var j=1; j <= sh.forms[0].elements.length-3; j++) { if (sh.forms[0].elements[j-1].name != "qty") { continue; } else { qtyObjCount++; if (qtyObjCount == i) { tmpQty = parseInt(sh.forms[0].elements[j-1].value); break; } } } } if (items[i].quantity == tmpQty) { continue; } test++; if (isNaN(tmpQty)) { tmpQty = 0; } else if (tmpQty < 0) { tmpQty = 0; } items[i].quantity = tmpQty; if (id) { return true; } } if (test) { sveord(); update(); } } function decreaseitem(itemno) { for (i=1;i<=n1m;i++) { if (itemno == items[i].itemno) { if (items[i].quantity > 0) { items[i].quantity--; } else { items[i].quantity = 0; } } } displaymenuorder(); } function Item(i,d,d2,dd,p,c,q) { this.itemno = i; this.desc = d; this.desc2 = d2; this.dsub = dd; this.price = p; this.code = c; this.quantity = q; } function mr_clean(desc) { var here, storage, caboose; var comma = '"'; if (desc.indexOf("^") >= 0) { for (var i = 0; i < desc.length; i++ ) { if (desc.indexOf("^") >= 0) { here = desc.indexOf("^"); storage = desc.substring(0,here); here += 1; caboose = desc.substring(here,desc.length); desc = "" + storage + comma + caboose; } else { break; } } } if (desc.indexOf("`") >= 0) { for (var i = 0; i < desc.length; i++ ) { if (desc.indexOf("`") >= 0) { here = desc.indexOf("`"); storage = desc.substring(0,here); here += 1; caboose = desc.substring(here,desc.length); desc = "" + storage + "'" + caboose; } else { break; } } } return desc; } function additem(itemno,d1,d2,dsub,price,code,slctqty) { var here, storage, caboose, desc, t1s = 0, comma = '"'; if (d1 >= 0) { desc = fds[d1][d2]; } else { desc = d2; } var desc2 = desc; desc = mr_clean(desc); if (desc2.indexOf("'") >= 0) { for (var i = 0; i < desc2.length; i++ ) { if (desc2.indexOf("'") >= 0) { here = desc2.indexOf("'"); storage = desc2.substring(0,here); here += 1; caboose = desc2.substring(here,desc2.length); desc2 = "" + storage + "`" + caboose; } else { break; } } } var foundIt = false; var quantity; if (!op) { p1n = 0; } if (!p1n) { for (var i=1;i<=n1m;i++) { if (slctqty && slctqty > 0) { break; } if (desc == items[i].desc && itemno == items[i].itemno) { if (items[i].quantity >= 0) { items[i].quantity++; } else { items[i].quantity = 0; } foundIt = true; break; } } if (!foundIt) { if (!slctqty || slctqty == 0) { quantity = 1; } else { quantity = slctqty; } items[++n1m] = new Item(itemno,desc,desc2,dsub,price,code,quantity); t1s = n1m; if (op) { items[n1m].basedesc = oP.basedesc; items[n1m].baseprice = oP.baseprice; items[n1m].tracker = oP.tracker; items[n1m].sz = oP.sz; items[n1m].ider = oP.ider; items[n1m].ayray = arrayplay(); if (winqty) { items[n1m].quantity = winqty; } } } } else { items[p1n].desc = desc; items[p1n].desc2 = desc2; items[p1n].dsub = dsub; items[p1n].price = price; items[p1n].tracker = oP.tracker; items[p1n].ayray = arrayplay(); if (winqty) { items[p1n].quantity = winqty; } t1s = p1n; } op = ''; winqty = 0; prearray = p1n = ''; displaymenuorder(); sveord(); } //top to bottom function jslim(sz,code2) { //dq1 = new Array( arlens in here); //dq2 = new Array( r0/c0 in here); //dq3 = new Array( ck0 in here); //dq4 = new Array( r0r in here); //dq5 = new Array( r0p in here); //dq6 = new Array( shutoff + menu_number value }; //dq7 = new Array{ shutoff0 + tiresome value }; //dq8 = new Array( potato value ); //dq9 = new Array( names ); //dq10 = new Array ( halves ); //dq11 = new Array ( 'gj' values ); //dq12 = new Array { set values }; //dq13 = new Array ( subchk values }; //dq14 = new Array ( headers ); code2 = parseInt(code2); var f5 = f52 = f53 = pricon = check5 = fives = 0; var rgen = 0; var rmlt = 0; var rmlt2 = 0; var r9e = 0; var r8e = 0; var r5e = 0; var r6e = 0; var cbr5 = 0; var dq20null = ''; var cspn1, cspn5, cspna, cspnb, cspnc, cwdth, czr1, czr2, czr3, czr4, czr5, czr6, czr7, czr8, czr45, czr445, fiver45, fiver455, in5, in8, here, mox, mox1, mox2, thar, tspn1, tspn2, tspn5, tspn55, twra, twrb, twrc, twend, tline, sbm, sbm2, sz2, subfive, five1, multi8, multi9, newcspna, cspna2, newcspna2, cspnafull, cspnhalf, cspnar; cspnhalf = 0; cspnafull = 0; cspnar = 0; sz = "" + sz; if (sz.indexOf("9") >= 0) { rgen = rmlt = r9e = 1; } if (sz.indexOf("8") >= 0) { rgen = rmlt = r8e = 1; } if (sz.indexOf("6") >= 0) { rgen = r6e = 1; } if (sz.indexOf("5") >= 0) { rgen = r5e = 1; } // n1w += ""; if (rmlt == 0) { twend = sz.lastIndexOf("1"); if (sz.lastIndexOf("2") > twend) { twend = sz.lastIndexOf("2"); } if (sz.lastIndexOf("3") > twend) { twend = sz.lastIndexOf("3"); } if (sz.lastIndexOf("4") > twend) { twend = sz.lastIndexOf("4"); } } td1 = (sz.length != 1 ? '' : ''); jps = jps1 = jps3 = jpse = 0; var jout = pls2 = pls22 = pls4 = place = 0; //fives if (r6e == 0) { // n1w += ''; for (var i = 0; i < sz.length; i++) { czr1 = sz.charAt(i); czr4 = (sz.length > i - 1 ? sz.charAt(i-1) : -1); czr45 = (i > 1 && sz.length > i - 2 ? sz.charAt(i-2) : -1); if (rmlt == 1) { rmlt2 = 1; if (i == 0 || (i > 1 && czr4 >= 8)) { place = (i != 0 ? i : 1); sbm = sz.substring(place,sz.length); sz2 = 0; if (r9e == 1) { sz2 = sbm.indexOf("9"); } else if (r8e == 1) { sz2 = sbm.indexOf("8"); } if (sz2 >= 0) { sbm = sbm.substring(0,sz2); } if (sbm.indexOf("5") >= 0) { subfive = 1; } else { subfive = 0; } } else { sbm = sz.substring(i,sz.length); sz2 = 0; if (r9e == 1) { sz2 = sbm.indexOf("9"); } else if (r8e == 1) { sz2 = sbm.indexOf("8"); } if (sz2 >= 0) { sbm = sbm.substring(0,sz2); if (r9e == 1) { if (sbm.indexOf("9") == -1) { rmlt2 = 0; } } else if (r8e == 1) { if (sbm.indexOf("8") == -1) { rmlt2 = 0; } } } else { rmlt2 = 0; } } } else { subfive = 1; } if (subfive == 1) { if (czr1 != 1 && czr1 != 3) { continue; } czr2 = (sz.length > i + 1 ? sz.charAt(i+1) : -1); czr3 = (sz.length > i + 2 ? sz.charAt(i+2) : -1); mox2 = 0; if (rmlt == 1) { czr5 = (sz.length > i + 3 ? sz.charAt(i+3) : -1); czr8 = (i > 1 ? sz.charAt(i-2) : -1); if (czr2 >= 8 || czr3 >= 8 || czr5 >= 8) { if (czr2 >= 8) { mox2 = 1; twend = i; } else if (czr3 >= 8 && czr2 != 1 && czr2 != 3) { mox2 = 1; // twend = (czr2 == 2 || czr2 == 4 ? i + 1 : -1); twend = (czr2 == 2 || czr2 == 4 || czr2 == 5 ? i + 1 : -1); } else if (czr5 >= 8 && czr2 != 1 && czr2 != 3 && czr3 != 1 && czr3 != 3) { mox2 = 1; twend = (czr2 == 2 || czr2 == 4 ? i + 1 : -1); } } if (czr4 == 8 || czr8 == 8) { fives = f5 = f52 = f53 = check5 = cbr5 = tspn2 = 0; // fives = f5 = 0; czr6 = 0; for (var j = i+1; j < sz.length; j++) { czr7 = sz.charAt(j); if (czr7 == 8) { break; } if (czr7 == 1 || czr7 == 3) { czr6 += 2; } else if (czr7 == 2 || czr7 == 4) { czr6 += 1; } } if (cbr5 == 1) { n1w += ";" } else { n1w += ""; } jps3++; } else if (czr4 == 9 || czr8 == 9) { if (cbr5 == 1) { n1w += ''; } fives = f5 = f52 = f53 = check5 = cbr5 = tspn2 = 0; } } if (czr4 == 5 || (czr4 == 7 && czr45 == 5)) { if (i > 2) { tspn55 = sz.substring(i-3,i); if (tspn55.indexOf("555") == -1) { fives = (fives == 1 ? 0 : 1); } } else { fives = (fives == 1 ? 0 : 1); } } tspn5 = ''; cspn5 = sz.substring(i); if (cspn5.indexOf("5") >= 0) { if (rmlt == 0 || rmlt2 == 0) { tspn5 = 1; //new 04/28 if (rmlt == 1) { multi8 = cspn5.indexOf("8"); multi9 = cspn5.indexOf("9"); if (multi8 > -1) { tspn5 = (five1 < multi8 ? 1 : 0); if (tspn5 == 0 && fives == 0) { f5 = 0; } } else if (multi9 > -1) { tspn5 = (five1 < multi9 ? 1 : 0); if (tspn5 == 0 && fives == 0) { f5 = 0; } } } } else { five1 = cspn5.indexOf("5"); multi8 = cspn5.indexOf("8"); multi9 = cspn5.indexOf("9"); if (multi8 > -1) { tspn5 = (five1 < multi8 ? 1 : 0); } else { tspn5 = (five1 < multi9 ? 1 : 0); } } } else if (fives == 0) { f5 = 0; } if (f5 == 0 && (czr4 == 5 || (czr4 == 7 && czr45 == 5))) { f5 = 1; f53++; } twra = ''; if (czr2 != 2 && czr2 != 4) { cwdth = 2; twrb = ''; twrc = ''; } else { cwdth = 3; twrb = ''; twrc = ''; } if (czr2 != 7 && czr3 != 7 && czr4 != 7) { if ((czr4 != 5 && f5 == 0) || (!tspn5 && fives == 0)) { cspnafull = 0; if (dq10[jps] != -8 && dq10[jps] != -1.5) { //topbot n1w += ""; cspnhalf = 0; } else { if (cspnhalf == 1 && (mox2 == 1 || dq13.length == jps || dq13.length == jps + 1)) { n1w += "
" + dq14[jps3] + "
" + dq14[jps3] + "
"; if (cspnhalf == 0 && cspnar != 1) { n1w += ''; } if (cspnar != 1) { n1w += "
"; } else { n1w += "
"; } } else { if (cspnhalf == 0) { n1w += ''; } cspnhalf = 1; n1w += ""; } else { if (dq13[jps] && dq13[jps] != 0 && (dq13.length == jps || dq13.length == jps + 1 || !dq13[jps+1] || dq13[jps+1] == 0 || dq13[jps+1] == 2)) { n1w += "
  " + dq9[jps1] + " 
"; n1w += "
"; } if (dq10[jps] != -6 && dq10[jps] != -3.5 && dq10[jps] != -8 && dq10[jps] != -1.5) { if (czr2 != 2 && czr2 != 4) { if (dq9[jps1+1] && dq9[jps1+1] == '
') { cspnar = 1; cspnafull = 4; n1w += ""; } else if (dq9[jps1] != '
') { cspnafull = 2; n1w += ""; } else if (dq9[jps1] == '
') { cspnar = 2; } } else { if (dq9[jps1+1] && dq9[jps1+1] == '
') { cspnar = 1; cspnafull = 6; n1w += ""; } else if (dq9[jps1] != '
') { cspnafull = 3; n1w += ""; } else if (dq9[jps1] == '
') { cspnar = 2; } } } else if (dq10[jps] == -6 || dq10[jps] == -3.5) { algn = (dq10[jps] == -3.5 ? 'center' : 'left'); if (czr2 != 2 && czr2 != 4) { n1w += ""; } else{ n1w += ""; } } else if (dq10[jps] == -8 || dq10[jps] == -1.5) { algn = (dq10[jps] == -1.5 ? 'center' : 'left'); cspnafull = 0; if (czr2 != 2 && czr2 != 4) { n1w += ""; } else { n1w += ""; } } if (cspnafull > 0 && cspnhalf == 0 && cspnar != 2) { n1w += ""; } if (cspnar == 2) { cspnar = 0; } if (!cspnhalf) { //topbot n1w += "
  " + dq9[jps1] + "
  " + dq9[jps1] + "
  " + dq9[jps1] + "
  " + dq9[jps1] + "
" + dq9[jps1] + " 
" + dq9[jps1] + " 
Full 
Full 
"; } if (dq1[jps]) { jpse = jps; } if (czr1 == 1) { for (var j = 0; j < dq1[jpse].length; j++) { var dqlen = (dq2[jps].length >= dq1[jpse].length ? dq2[jps].length : dq1[jpse].length); if (j < dqlen) { radiate1(jps,dq3[jps],j,dq4[jps],dq2[jps],'',twrb,1,dq15[jps],'',''); if (czr2 == 2) { radcheck1(dq5[jps],j,twrc,'','','',jps); } dq3[jps] = ''; } // else { n1w += "" + twra + "" + twrb; } } } else { for (var j = 0; j < dq1[jpse].length; j++) { var dqlen = (dq2[jps].length >= dq1[jpse].length ? dq2[jps].length : dq1[jpse].length); if (j < dqlen) { checkerate1(jps,dq3[jps],j,dq2[jps],'',dq13[jps],'',1,'',dq18[jps],'','',''); if (czr2 == 4) { radcheck1(dq5[jps],j,twrc,dq13[jps],'','',jps); } } // else { n1w += "" + twra + "" + twrb; } } } n1w += ""; if ((cspnafull > 0 && cspnhalf == 0 && cspnar != 1) || cspnar == 2) { // if (cspnafull > 0 && cspnhalf == 0 && cspnar != 1) { n1w += "

"; } else { //topbot n1w += ""; n1w += ""; if (cspnhalf == 0) { n1w += ''; } } } } check5 = 1; } else { thar = i; cspn1 = sz.substring(i); tspn1 = ''; if (cspn1.indexOf("5") >= 0) { here = cspn1.indexOf("5"); thar = cspn1; cspn1 = cspn1.substring(0,here); tspn1 = thar.substring(here,here+3); thar = cspn1; check5 = 0; } else { thar = czr1; } //topbot if (!tspn2 && tspn1.indexOf("555") >= 0) { tspn2 = 1; } tspn55 = ''; //topbot if (tspn1.indexOf("555") >= 0) { tspn55 = 1; } if (thar.indexOf("2") < 0 && thar.indexOf("4") < 0) { cspna = 1; cspnb = 2; twrd = ''; } else { cspna = 2; cspnb = 3; twrd = ''; // if (czr2 == 2 && czr2 == 4) { twrd = ''; } else { twrd = ''; cspna = 1; cspnb = 2; } } //tobbotend cspnafull = 0; if (dq10[jps] != -8 && dq10[jps] != -1.5) { // n1w += ""; //tobot if (cspnhalf == 0 && cspnar != 1) { n1w += ''; } if (cspnar != 1) { n1w += "
"; } else { n1w += "
"; } } else { if (cspnhalf == 0) { n1w += ''; } cspnhalf = 1; n1w += ""; } else { if (dq13[jps] && dq13[jps] != 0 && (dq13.length == jps || dq13.length == jps + 1 || !dq13[jps+1] || dq13[jps+1] == 0 || dq13[jps+1] == 2)) { n1w += "
  " + dq9[jps1] + " 
"; n1w += "
"; } if (dq10[jps1] != -8 && dq10[jps1] != -1.5) { if (dq9[jps1+1] && dq9[jps1+1] == '
') { cspnafull = newcspna = (cspna == 2 ? 6 : 4); newcspna2 = (cspna == 2 ? 5 : 3); cspnar = 1; n1w += ""; } else if (dq9[jps1] != '
') { cspnafull = cspna + 1; n1w += ""; } else if (dq9[jps1] == '
') { cspnar = 2; } } else { cspnafull = 0; n1w += ""; } if (cspnafull > 0 && cspnhalf == 0 && cspnar != 2) { n1w += ""; } if (cspnar == 2) { cspnar = 0; } //topbotstart if (!cspnhalf) { //topbot n1w += "
  " + dq9[jps1] + "
  " + dq9[jps1] + "
Full 
"; } if (dq1[jps]) { jpse = jps; } if (czr1 == 1) { for (var j = 0; j < dq1[jpse].length; j++) { var dqlen = (dq2[jps].length >= dq1[jpse].length ? dq2[jps].length : dq1[jpse].length); if (j < dqlen) { radiate1(jps,dq3[jps],j,dq4[jps],dq2[jps],twrd,twrb,1,dq15[jps],'',''); if (czr2 == 2) { radcheck1(dq5[jps],j,twrc,'','','',jps); } dq3[jps] = ''; } } } else { for (var j = 0; j < dq1[jpse].length; j++) { var dqlen = (dq2[jps].length >= dq1[jpse].length ? dq2[jps].length : dq1[jpse].length); if (j < dqlen) { checkerate1(jps,dq3[jps],j,dq2[jps],twrd,dq13[jps],'',1,'',dq18[jps],'','',''); if (czr2 == 4) { radcheck1(dq5[jps],j,twrc,dq13[jps],'','',jps); } } } } n1w += ""; if ((cspnafull > 0 && cspnhalf == 0 && cspnar != 1) || cspnar == 2) { // if (cspnafull > 0 && cspnhalf == 0 && cspnar != 1) { n1w += "

"; cspnhalf = 0; } else { if (cspnhalf == 1 && (mox2 == 1 || dq13.length == jps || dq13.length == jps + 1)) { n1w += ""; } else { //topbot n1w += ""; n1w += ""; if (cspnhalf == 0) { n1w += ''; } } } } //topbotend } //sevens } else { if (czr4 != 5 && f5 == 0) { cspnafull = 0; if (dq10[jps] != -8 && dq10[jps] != -1.5) { //topbot n1w += ""; if (cspnhalf == 0) { n1w += ''; } n1w += "
"; } else { if (cspnhalf == 0) { n1w += ''; } cspnhalf = 1; n1w += ""; } else { if (dq13[jps] && dq13[jps] != 0 && (dq13.length == jps || dq13.length == jps + 1 || !dq13[jps+1] || dq13[jps+1] == 0 || dq13[jps+1] == 2)) { n1w += "
  " + dq9[jps1] + " 
"; n1w += "
"; } if (dq10[jps] != -6 && dq10[jps] != -3.5 && dq10[jps] != -8 && dq10[jps] != -1.5) { if (czr2 != 2 && czr2 != 4) { cspnafull = 2; n1w += ""; } else { cspnafull = 3; n1w += ""; } } else if (dq10[jps] == -6 || dq10[jps] == -3.5) { algn = (dq10[jps] == -3.5 ? 'center' : 'left'); if (czr2 != 2 && czr2 != 4) { n1w += ""; } else{ n1w += ""; } } else if (dq10[jps] == -8 || dq10[jps] == -1.5) { algn = (dq10[jps] == -1.5 ? 'center' : 'left'); cspnafull = 0; if (czr2 != 2 && czr2 != 4) { n1w += ""; } else { n1w += ""; } } if (cspnafull > 0 && cspnhalf == 0) { n1w += ""; } if (!cspnhalf) { //topbot n1w += "
  " + dq9[jps1] + "
  " + dq9[jps1] + "
" + dq9[jps1] + " 
" + dq9[jps1] + " 
Full 
Full 
"; } if (dq1[jps]) { jpse = jps; } if (czr4 != 7) { if (czr1 == 1) { for (var j = 0; j < dq1[jpse].length; j++) { var dqlen = (dq2[jps].length >= dq1[jpse].length ? dq2[jps].length : dq1[jpse].length); if (j < dqlen) { radiate2(jps,dq3[jps],j,dq4[jps],dq2[jps],dq6[jps],dq7[jps],'',twrb,1,dq15[jps],'',''); if (czr2 == 2) { radcheck1(dq5[jps],j,twrc,'','','',jps); } dq3[jps] = ''; } // else { n1w += "" + twra + "" + twrb; } } } else { for (var j = 0; j < dq1[jpse].length; j++) { var dqlen = (dq2[jps].length >= dq1[jpse].length ? dq2[jps].length : dq1[jpse].length); if (j < dqlen) { checkerate2(jps,dq3[jps],j,dq2[jps],dq6[jps],dq7[jps],dq8[jps],'',twrb,1,'',dq18[jps],'','',''); if (czr2 == 4) { radcheck1(dq5[jps],j,twrc,'','','',jps); } } // else { n1w += "" + twra + "" + twrb; } } } } else { if (czr1 == 1) { for (var j = 0; j < dq1[jpse].length; j++) { var dqlen = (dq2[jps].length >= dq1[jpse].length ? dq2[jps].length : dq1[jpse].length); if (j < dqlen) { radiate4(jps,dq3[jps],j,dq4[jps],dq2[jps],dq6[jps],dq7[jps],'',twrb,1,dq15[jps],'',''); if (czr2 == 2) { radcheck1(dq5[jps],j,twrc,'','','',jps); } dq3[jps] = ''; } // else { n1w += "" + twra + "" + twrb; } } } else { for (var j = 0; j < dq1[jpse].length; j++) { var dqlen = (dq2[jps].length >= dq1[jpse].length ? dq2[jps].length : dq1[jpse].length); if (j < dqlen) { checkerate2(jps,dq3[jps],j,dq2[jps],dq6[jps],dq7[jps],dq8[jps],'',twrb,1,'',dq18[jps],'','',''); if (czr2 == 4) { radcheck1(dq5[jps],j,twrc,'','','',jps); } } // else { n1w += "" + twra + "" + twrb; } } } } n1w += ""; if (cspnafull > 0 && cspnhalf == 0) { n1w += "

"; cspnhalf = 0; } else { if (cspnhalf == 1 && (mox2 == 1 || dq13.length == jps || dq13.length == jps + 1)) { n1w += ""; } else { //topbot n1w += ""; n1w += ""; if (cspnhalf == 0) { n1w += ''; } } } } check5 = 1; } else { thar = i; cspn1 = sz.substring(i); tspn1 = ''; if (cspn1.indexOf("5") >= 0) { here = cspn1.indexOf("5"); thar = cspn1; cspn1 = cspn1.substring(0,here); tspn1 = thar.substring(here,here+3); check5 = 0; } else { thar = cspn1; } //topbot if (!tspn2 && tspn1.indexOf("555") >= 0) { tspn2 = 1; } tspn55 = ''; //topbot if (tspn1.indexOf("555") >= 0) { tspn55 = 1; } if (thar.indexOf("2") < 0 && thar.indexOf("4") < 0) { cspna = 1; cspnb = 2; twrd = ''; } else { cspna = 2; cspnb = 3; twrd = ''; // if (czr2 == 2 && czr2 == 4) { twrd = ''; } else { twrd = ''; cspna = 1; cspnb = 2; } } cspnafull = 0; if (dq10[jps] != -8 && dq10[jps] != -1.5) { // n1w += ""; //tobot if (cspnhalf == 0) { n1w += ''; } n1w += "
"; } else { if (cspnhalf == 0) { n1w += ''; } cspnhalf = 1; n1w += ""; } else { if (dq13[jps] && dq13[jps] != 0 && (dq13.length == jps || dq13.length == jps + 1 || !dq13[jps+1] || dq13[jps+1] == 0 || dq13[jps+1] == 2)) { n1w += "
  " + dq9[jps1] + " 
"; n1w += "
"; } if (dq10[jps1] != -8 && dq10[jps1] != -1.5) { cspnafull = cspna + 1; n1w += ""; } else { cspnafull = cspna + 1; n1w += ""; } if (cspnafull > 0 && cspnhalf == 0) { n1w += ""; } //topbotstart if (!cspnhalf) { //topbot n1w += "
  " + dq9[jps1] + "
Full 
"; } if (dq1[jps]) { jpse = jps; } if (czr4 != 7) { if (czr1 == 1) { for (var j = 0; j < dq1[jpse].length; j++) { var dqlen = (dq2[jps].length >= dq1[jpse].length ? dq2[jps].length : dq1[jpse].length); if (j < dqlen) { radiate2(jps,dq3[jps],j,dq4[jps],dq2[jps],dq6[jps],dq7[jps],twrd,twrb,1,dq15[jps],'',''); if (czr2 == 2) { radcheck1(dq5[jps],j,twrc,'','','',jps); } dq3[jps] = ''; } // else { n1w += "" + twra + "" + twrb; } } } else { for (var j = 0; j < dq1[jpse].length; j++) { var dqlen = (dq2[jps].length >= dq1[jpse].length ? dq2[jps].length : dq1[jpse].length); if (j < dqlen) { checkerate2(jps,dq3[jps],j,dq2[jps],dq6[jps],dq7[jps],dq8[jps],twrd,twrb,1,'',dq18[jps],'','',''); if (czr2 == 4) { radcheck1(dq5[jps],j,twrc,'','','',jps); } } } } } else { if (czr1 == 1) { for (var j = 0; j < dq1[jpse].length; j++) { var dqlen = (dq2[jps].length >= dq1[jpse].length ? dq2[jps].length : dq1[jpse].length); if (j < dqlen) { radiate4(jps,dq3[jps],j,dq4[jps],dq2[jps],dq6[jps],dq7[jps],twrd,twrb,1,dq15[jps],'',''); if (czr2 == 2) { radcheck1(dq5[jps],j,twrc,'','','',jps); } dq3[jps] = ''; } } } else { for (var j = 0; j < dq1[jpse].length; j++) { var dqlen = (dq2[jps].length >= dq1[jpse].length ? dq2[jps].length : dq1[jpse].length); if (j < dqlen) { checkerate2(jps,dq3[jps],j,dq2[jps],dq6[jps],dq7[jps],dq8[jps],twrd,twrb,1,'',dq18[jps],'','',''); if (czr2 == 4) { radcheck1(dq5[jps],j,twrc,'','','',jps); } } } } } n1w += ""; if (cspnafull > 0 && cspnhalf == 0) { n1w += "

"; cspnhalf = 0; } else { if (cspnhalf == 1 && (mox2 == 1 || dq13.length == jps || dq13.length == jps + 1)) { n1w += ""; } else { //topbot n1w += ""; n1w += ""; if (cspnhalf == 0) { n1w += ''; } } } } } } jps++; jps1++; if (mox2) { i = twend; //new 04/28 n1w += "
"; // n1w += "
"; n1w += ""; cbr5 = 1; } } else { in8 = (r8e != 1 ? 0 : 1); in5 = 0; if (i == 0) { if (r9e == 1 || r8e == 1) { sbm2 = sz.substring(sz2,sz.length); if (sbm2.indexOf("5") == -1) { i = sz.length; } else { in5 = 1; } } } else { if (r9e == 1 || r8e == 1) { sbm2 = sz.substring(sz2,sz.length); if (sz2 > 0 && sbm2.indexOf("5") == -1) { i = sz.length; } else if (sz2 <= 0 && sbm && sbm.indexOf("5") == -1) { id5 = 0; } else { in5 = 1; } // if ((sz2 > 0 && sbm2.indexOf("5") == -1) || (sz2 <= 0 && sbm.indexOf("5") == -1)) { // i = sz.length; // } else { // in5 = 1; // } } else { i = sz.length; } } jout = jslimmer2(sbm,1,in8,in5,code2); if (in5 == 1) { // i = sz2 + 1; if (jout != 0) { //new 04/28 n1w += "

"; // n1w += "
"; n1w += ""; cbr5 = 1; } i += jout; } else { i += jout; } } } n1w += '
'; //sixes } else { // n1w += ''; for (var i = 0; i < sz.length; i++) { czr1 = sz.charAt(i); czr4 = (sz.length > i - 1 ? sz.charAt(i-1) : -1); czr45 = (sz.length > i - 2 ? sz.charAt(i-2) : -1); if (rmlt == 1) { if (i == 0 || (i > 1 && czr4 >= 8)) { place = (i != 0 ? i : 1); sz2 = 0; sbm = sz.substring(place,sz.length); if (r9e == 1) { sz2 = sbm.indexOf("9"); } else if (r8e == 1) { sz2 = sbm.indexOf("8"); } if (sz2 >= 0) { sbm = sbm.substring(0,sz2); } if (sbm.indexOf("5") >= 0) { subfive = 1; } else { subfive = 0; } } } else { subfive = 1; } if (subfive == 1) { if (czr1 != 1 && czr1 != 3) { continue; } czr2 = (sz.length > i + 1 ? sz.charAt(i+1) : -1); czr3 = (sz.length > i + 2 ? sz.charAt(i+2) : -1); mox2 = 0; if (rmlt == 1) { czr5 = (sz.length > i + 3 ? sz.charAt(i+3) : -1); czr8 = (i > 1 ? sz.charAt(i-2) : -1); if (czr2 >= 8 || czr3 >= 8 || czr5 >= 8) { if (czr2 >= 8) { mox2 = 1; twend = i; } else if (czr3 >= 8 && czr2 != 1 && czr2 != 3) { mox2 = 1; // twend = (czr2 == 2 || czr2 == 4 ? i + 1 : -1); twend = (czr2 == 2 || czr2 == 4 || czr2 == 5 ? i + 1 : -1); } else if (czr5 >= 8 && czr2 != 1 && czr2 != 3 && czr3 != 1 && czr3 != 3) { mox2 = 1; twend = (czr2 == 2 || czr2 == 4 ? i + 1 : -1); } } if (czr4 == 8 || czr8 == 8) { fives = f5 = f52 = f53 = check5 = cbr5 = tspn2 = 0; czr6 = 0; for (var j = i+1; j < sz.length; j++) { czr7 = sz.charAt(j); if (czr7 == 8) { break; } if (czr7 == 1 || czr7 == 3) { czr6 += 2; } else if (czr7 == 2 || czr7 == 4) { czr6 += 1; } } if (cbr5 == 1) { n1w += "" + dq14[jps3] + ""; } else { n1w += "" + dq14[jps3] + ""; } jps3++; } else if (czr4 == 9 || czr8 == 9) { if (cbr5 == 1) { n1w += ''; } fives = f5 = f52 = f53 = check5 = cbr5 = tspn2 = 0; } } if (czr4 == 5 || (czr4 == 6 && czr45 == 5)) { if (i > 2) { tspn55 = sz.substring(i-3,i); if (tspn55.indexOf("555") == -1) { fives = (fives == 1 ? 0 : 1); } } else { fives = (fives == 1 ? 0 : 1); } } tspn5 = ''; cspn5 = sz.substring(i); if (cspn5.indexOf("5") >= 0) { if (rmlt == 0) { tspn5 = 1; } else { five1 = cspn5.indexOf("5"); multi8 = cspn5.indexOf("8"); multi9 = cspn5.indexOf("9"); if (multi8 > -1) { tspn5 = (five1 < multi8 ? 1 : 0); } else { tspn5 = (five1 < multi9 ? 1 : 0); } } } else if (f53 != 1) { f5 = 0; } if (f5 == 0 && (czr4 == 5 || (czr4 == 6 && czr45 == 5))) { f5 = 1; f53++; } twra = ''; if (czr2 != 2 && czr2 != 4) { cwdth = 2; twrb = ''; twrc = ''; } else { cwdth = 3; twrb = ''; twrc = ''; } if (czr2 != 7 && czr3 != 7 && czr4 != 7) { if ((czr4 != 5 && f5 == 0) || (!tspn5 && fives == 0)) { if (dq10[jps] != -8 && dq10[jps] != -1.5) { //topbot n1w += ""; if (cspnhalf == 0 && cspnar != 1) { n1w += ''; } if (cspnar != 1) { n1w += "
"; } else { n1w += "
"; } } else { if (cspnhalf == 0) { n1w += ''; } cspnhalf = 1; n1w += ""; } else { if (dq13[jps] && dq13[jps] != 0 && (dq13.length == jps || dq13.length == jps + 1 || !dq13[jps+1] || dq13[jps+1] == 0 || dq13[jps+1] == 2)) { n1w += "
  " + dq9[jps1] + " 
"; n1w += "
"; } if (dq10[jps] != -6 && dq10[jps] != -3.5 && dq10[jps] != -8 && dq10[jps] != -1.5) { if (czr2 != 2 && czr2 != 4) { if (dq9[jps1+1] && dq9[jps1+1] == '
') { cspnar = 1; cspnafull = 4; n1w += ""; } else if (dq9[jps1] != '
') { cspnafull = 2; n1w += ""; } else if (dq9[jps1] == '
') { cspnar = 2; } } else { if (dq9[jps1+1] && dq9[jps1+1] == '
') { cspnar = 1; cspnafull = 6; n1w += ""; } else if (dq9[jps1] != '
') { cspnafull = 3; n1w += ""; } else if (dq9[jps1] == '
') { cspnar = 2; } } } else if (dq10[jps] == -6 || dq10[jps] == -3.5) { algn = (dq10[jps] == -3.5 ? 'center' : 'left'); if (czr2 != 2 && czr2 != 4) { n1w += ""; } else{ n1w += ""; } } else if (dq10[jps] == -8 || dq10[jps] == -1.5) { algn = (dq10[jps] == -1.5 ? 'center' : 'left'); cspnafull = 0; if (czr2 != 2 && czr2 != 4) { n1w += ""; } else { n1w += ""; } } if (cspnafull > 0 && cspnhalf == 0 && cspnar != 2) { n1w += ""; } if (cspnar == 2) { cspnar = 0; } if (!cspnhalf) { //topbot n1w += "
  " + dq9[jps1] + "
  " + dq9[jps1] + "
  " + dq9[jps1] + "
  " + dq9[jps1] + "
" + dq9[jps1] + " 
" + dq9[jps1] + " 
Full 
Full 
"; } if (dq1[jps]) { jpse = jps; } //withsubs if (!dq11[jps]) { if (czr1 == 1) { for (var j = 0; j < dq1[jpse].length; j++) { var dqlen = (dq2[jps].length >= dq1[jpse].length ? dq2[jps].length : dq1[jpse].length); if (j < dqlen) { radiate1(jps,dq3[jps],j,dq4[jps],dq2[jps],'',twrb,1,dq15[jps],'',''); if (czr2 == 2) { radcheck1(dq5[jps],j,twrc,'','','',jps); } dq3[jps] = ''; } // else { n1w += "" + twra + "" + twrb; } } } else { for (var j = 0; j < dq1[jpse].length; j++) { var dqlen = (dq2[jps].length >= dq1[jpse].length ? dq2[jps].length : dq1[jpse].length); if (j < dqlen) { checkerate1(jps,dq3[jps],j,dq2[jps],'',dq13[jps],twrb,1,'',dq18[jps],'','',''); if (czr2 == 4) { radcheck1(dq5[jps],j,twrc,dq13[jps],'','',jps); } } // else { n1w += "" + twra + "" + twrb; } } } } else { for (var j = 0; j < dq1[jpse].length; j++) { var dqlen = (dq2[jps].length >= dq1[jpse].length ? dq2[jps].length : dq1[jpse].length); if (j < dqlen) { checkerate3(jps,dq3[jps],j,dq2[jps],dq6[jps],dq11[jps],dq12[jps],dq13[jps],twrb,'','',dq18[jps],'','',''); } // else { n1w += "" + twra + "" + twrb; } } } n1w += ""; if ((cspnafull > 0 && cspnhalf == 0 && cspnar != 1) || cspnar == 2) { // if (cspnafull > 0 && cspnhalf == 0 && cspnar != 1) { n1w += "

"; cspnhalf = 0; } else { if (cspnhalf == 1 && (mox2 == 1 || dq13.length == jps || dq13.length == jps + 1)) { n1w += ""; } else { //topbot n1w += ""; n1w += ""; if (cspnhalf == 0) { n1w += ''; } } } } } else { thar = i; cspn1 = sz.substring(i); tspn1 = ''; var cspn111; if (cspn1.indexOf("5") >= 0) { here = cspn1.indexOf("5"); thar = cspn1; cspn1 = cspn1.substring(0,here); tspn1 = thar.substring(here,here+3); thar = cspn1; } else { thar = czr1; } if (!tspn2 && tspn1.indexOf("555") >= 0) { tspn2 = 1; } tspn55 = ''; if (tspn1.indexOf("555") >= 0) { tspn55 = 1; } if (thar.indexOf("2") < 0 && thar.indexOf("4") < 0) { cspna = 1; cspnb = 2; twrd = ''; } else { cspna = 2; cspnb = 3; twrd = ''; // if (czr2 == 2 && czr2 == 4) { twrd = ''; } else { twrd = ''; cspna = 1; cspnb = 2; } // if (czr2 == 2 && czr2 == 4) { twrd = ''; } else { twrd = ''; cspna = 2; cspnb = 3; } } cspnafull = 0; if (dq10[jps] != -8 && dq10[jps] != -1.5) { // n1w += ""; //topbot if (cspnhalf == 0 && cspnar != 1) { n1w += ''; } if (cspnar != 1) { n1w += "
"; } else { n1w += "
"; } } else { if (cspnhalf == 0) { n1w += ''; } cspnhalf = 1; n1w += ""; } else { if (dq13[jps] && dq13[jps] != 0 && (dq13.length == jps || dq13.length == jps + 1 || !dq13[jps+1] || dq13[jps+1] == 0 || dq13[jps+1] == 2)) { n1w += "
  " + dq9[jps1] + " 
"; n1w += "
"; } if (dq10[jps1] != -8 && dq10[jps1] != -1.5) { if (dq9[jps1+1] && dq9[jps1+1] == '
') { cspnafull = newcspna = (cspna == 2 ? 6 : 4); newcspna2 = (cspna == 2 ? 5 : 3); cspnar = 1; n1w += ""; // + twrb; } else if (dq9[jps1] != '
') { cspnafull = cspna + 1; if (cspnhalf == 0) { n1w += ""; // + twrb; } else { if (dq10[jps1] == 0) { n1w += ""; // + twrb; // n1w += ""; // + twrb; } else { n1w += ""; // + twrb; // n1w += ""; // + twrb; } } } else if (dq9[jps1] == '
') { cspnar = 2; } } else { cspnafull = 0; n1w += ""; // " + twrb; } if (cspnafull > 0 && cspnhalf == 0 && cspnar != 2) { n1w += ""; } if (cspnar == 2) { cspnar = 0; } //topbotstart if (!cspnhalf) { //topbot n1w += "
  " + dq9[jps1] + "
  " + dq9[jps1] + "
" + dq9[jps1] + "
" + dq9[jps1] + "
" + dq9[jps1] + "
" + dq9[jps1] + "
Full 
"; } if (dq1[jps]) { jpse = jps; } if (!dq11[jps]) { if (czr1 == 1) { for (var j = 0; j < dq1[jpse].length; j++) { var dqlen = (dq2[jps].length >= dq1[jpse].length ? dq2[jps].length : dq1[jpse].length); if (j < dqlen) { radiate1(jps,dq3[jps],j,dq4[jps],dq2[jps],twrd,twrb,1,dq15[jps],'',''); if (czr2 == 2) { radcheck1(dq5[jps],j,twrc,'','','',jps); } dq3[jps] = ''; } } } else { for (var j = 0; j < dq1[jpse].length; j++) { var dqlen = (dq2[jps].length >= dq1[jpse].length ? dq2[jps].length : dq1[jpse].length); if (j < dqlen) { checkerate1(jps,dq3[jps],j,dq2[jps],twrd,dq13[jps],twrb,1,'',dq18[jps],'','',''); if (czr2 == 4) { radcheck1(dq5[jps],j,twrc,dq13[jps],'','',jps); } } } } } else { for (var j = 0; j < dq1[jpse].length; j++) { var dqlen = (dq2[jps].length >= dq1[jpse].length ? dq2[jps].length : dq1[jpse].length); if (j < dqlen) { checkerate3(jps,dq3[jps],j,dq2[jps],dq6[jps],dq11[jps],dq12[jps],dq13[jps],twrb,1,'',dq18[jps],'','',''); } } } n1w += "" + twrb; if ((cspnafull > 0 && cspnhalf == 0 && cspnar != 1) || cspnar == 2) { // if (cspnafull > 0 && cspnhalf == 0 && cspnar != 1) { n1w += "

"; cspnhalf = 0; } else { if (cspnhalf == 1 && (mox2 == 1 || dq13.length == jps || dq13.length == jps + 1)) { n1w += ""; } else { //topbot n1w += ""; n1w += ""; if (cspnhalf == 0) { n1w += ''; } } } } } //sevens } else { if (czr4 != 5 && f5 == 0) { //topbot n1w += ""; n1w += ""; n1w += "
"; if (czr2 != 2 && czr2 != 4) { cspnafull = 2; n1w += ""; } else { cspnafull = 3; n1w += ""; } if (cspnafull > 0 && cspnhalf == 0) { n1w += ""; } //topbot n1w += "
  " + dq9[jps1] + "
  " + dq9[jps1] + "
"; } if (dq1[jps]) { jpse = jps; } if (czr4 != 7) { if (czr1 == 1) { for (var j = 0; j < dq1[jpse].length; j++) { var dqlen = (dq2[jps].length >= dq1[jpse].length ? dq2[jps].length : dq1[jpse].length); if (j < dqlen) { radiate2(jps,dq3[jps],j,dq4[jps],dq2[jps],dq6[jps],dq7[jps],'',twrb,1,dq15[jps],'',''); if (czr2 == 2) { radcheck1(dq5[jps],j,twrc,'','','',jps); } dq3[jps] = ''; } } } else { for (var j = 0; j < dq1[jpse].length; j++) { var dqlen = (dq2[jps].length >= dq1[jpse].length ? dq2[jps].length : dq1[jpse].length); if (j < dqlen) { checkerate2(jps,dq3[jps],j,dq2[jps],dq6[jps],dq7[jps],dq8[jps],'',twrb,1,'',dq18[jps],'','',''); if (czr2 == 4) { radcheck1(dq5[jps],j,twrc,'','','',jps); } } } } } else { if (czr1 == 1) { for (var j = 0; j < dq1[jpse].length; j++) { var dqlen = (dq2[jps].length >= dq1[jpse].length ? dq2[jps].length : dq1[jpse].length); if (j < dqlen) { radiate4(jps,dq3[jps],j,dq4[jps],dq2[jps],dq6[jps],dq7[jps],'',twrb,1,dq15[jps],'',''); if (czr2 == 2) { radcheck1(dq5[jps],j,twrc,'','','',jps); } dq3[jps] = ''; } } } else { for (var j = 0; j < dq1[jpse].length; j++) { var dqlen = (dq2[jps].length >= dq1[jpse].length ? dq2[jps].length : dq1[jpse].length); if (j < dqlen) { checkerate2(jps,dq3[jps],j,dq2[jps],dq6[jps],dq7[jps],dq8[jps],'',twrb,1,'',dq18[jps],'','',''); if (czr2 == 4) { radcheck1(dq5[jps],j,twrc,'','','',jps); } } } } } n1w += ""; if (cspnafull > 0 && cspnhalf == 0) { n1w += "

"; } else { thar = i; cspn1 = sz.substring(i); tspn1 = ''; if (cspn1.indexOf("5") >= 0) { here = cspn1.indexOf("5"); thar = cspn1; cspn1 = cspn1.substring(0,here); tspn1 = thar.substring(here,here+3); } else { thar = cspn1; } //topbot if (!tspn2 && tspn1.indexOf("555") >= 0) { tspn2 = 1; } tspn55 = ''; //topbot if (tspn1.indexOf("555") >= 0) { tspn55 = 1; } if (thar.indexOf("2") < 0 && thar.indexOf("4") < 0) { cspna = 1; cspnb = 2; twrd = ''; } else { cspna = 2; cspnb = 3; twrd = ''; // if (czr2 == 2 && czr2 == 4) { twrd = ''; } else { twrd = ''; cspna = 1; cspnb = 2; } } cspnafull = 0; if (dq10[jps] != -8 && dq10[jps] != -1.5) { // n1w += ""; //topbot if (cspnhalf == 0) { n1w += ''; } n1w += "
"; } else { if (cspnhalf == 0) { n1w += ''; } cspnhalf = 1; n1w += ""; } else { if (dq13[jps] && dq13[jps] != 0 && (dq13.length == jps || dq13.length == jps + 1 || !dq13[jps+1] || dq13[jps+1] == 0 || dq13[jps+1] == 2)) { n1w += "
  " + dq9[jps1] + " 
"; n1w += "
"; } if (dq10[jps1] != -8 && dq10[jps1] != -1.5) { cspnafull = cspna + 1; n1w += ""; // + twrb; } else { cspnafull = 0; n1w += ""; } if (cspnafull > 0 && cspnhalf == 0) { n1w += ""; } //topbotstart if (!cspnhalf) { //topbot n1w += "
  " + dq9[jps1] + "
Full 
"; } if (dq1[jps]) { jpse = jps; } if (czr4 != 7) { if (czr1 == 1) { for (var j = 0; j < dq1[jpse].length; j++) { var dqlen = (dq2[jps].length >= dq1[jpse].length ? dq2[jps].length : dq1[jpse].length); if (j < dqlen) { radiate2(jps,dq3[jps],j,dq4[jps],dq2[jps],dq6[jps],dq7[jps],twrd,twrb,1,dq15[jps],'',''); if (czr2 == 2) { radcheck1(dq5[jps],j,twrc,'','','',jps); } dq3[jps] = ''; } } } else { for (var j = 0; j < dq1[jpse].length; j++) { var dqlen = (dq2[jps].length >= dq1[jpse].length ? dq2[jps].length : dq1[jpse].length); if (j < dqlen) { checkerate2(jps,dq3[jps],j,dq2[jps],dq6[jps],dq7[jps],dq8[jps],twrd,twrb,1,'',dq18[jps],'','',''); if (czr2 == 4) { radcheck1(dq5[jps],j,twrc,'','','',jps); } } } } } else { if (czr1 == 1) { for (var j = 0; j < dq1[jpse].length; j++) { var dqlen = (dq2[jps].length >= dq1[jpse].length ? dq2[jps].length : dq1[jpse].length); if (j < dqlen) { radiate4(jps,dq3[jps],j,dq4[jps],dq2[jps],dq6[jps],dq7[jps],twrd,twrb,1,dq15[jps],'',''); if (czr2 == 2) { radcheck1(dq5[jps],j,twrc,'','','',jps); } dq3[jps] = ''; } } } else { for (var j = 0; j < dq1[jpse].length; j++) { var dqlen = (dq2[jps].length >= dq1[jpse].length ? dq2[jps].length : dq1[jpse].length); if (j < dqlen) { checkerate2(jps,dq3[jps],j,dq2[jps],dq6[jps],dq7[jps],dq8[jps],twrd,twrb,1,'',dq18[jps],'','',''); if (czr2 == 4) { radcheck1(dq5[jps],j,twrc,'','','',jps); } } } } } n1w += ""; if (cspnafull > 0 && cspnhalf == 0) { n1w += "

"; cspnhalf = 0; } else { if (cspnhalf == 1 && (mox2 == 1 || dq13.length == jps || dq13.length == jps + 1)) { n1w += ""; } else { //topbot n1w += ""; n1w += ""; if (cspnhalf == 0) { n1w += ''; } } } } } } jps++; jps1++; if (mox2) { i = twend; //new 04/28 n1w += "
"; // n1w += "
"; n1w += ""; cbr5 = 1; // break; } } else { in8 = (r8e != 1 ? 0 : 1); in5 = 0; if (i == 0) { if (r9e == 1 || r8e == 1) { sbm2 = sz.substring(sz2,sz.length); if (sbm2.indexOf("5") == -1) { i = sz.length; } else { in5 = 1; } } } else { if (r9e == 1 || r8e == 1) { sbm2 = sz.substring(sz2,sz.length); if (sz2 > 0 && sbm2.indexOf("5") == -1) { i = sz.length; } else if (sz2 <= 0 && sbm && sbm.indexOf("5") == -1) { id5 = 0; } else { in5 = 1; } // if ((sz2 > 0 && sbm2.indexOf("5") == -1) || (sz2 <= 0 && sbm.indexOf("5") == -1)) { // i = sz.length; // } else { // in5 = 1; // } } else { i = sz.length; } } jout = jslimmer2(sbm,1,in8,in5,code2); if (in5 == 1) { // i = sz2 + 1; if (jout != 0) { //new 04/28 n1w += "

"; // n1w += "
"; n1w += ""; cbr5 = 1; } i += jout; } else { i += jout; } } } } } function jslimmer2(sz,inout,in8,in5,code2) { var f5 = f52 = f53 = pricon = 0; var rgen = 0; var rmlt = 0; var r9e = 0; var r8e = 0; var r5e = 0; var r6e = 0; var dq20null = ''; var cspn1, cspna, cspnb, cspnc, cwdth, czr1, czr2, czr3, czr4, czr5, czr6, czr7, here, mox, mox1, mox2, thar, tspn1, tspn2, twra, twrb, twrc, twend, tline, cspnhalf, cspnafull, cspnar; cspnhalf = 0; cspnafull = 0; cspnar = 0; if (in5 == null) { in5 = 0; } sz = "" + sz; if (sz.indexOf("9") >= 0) { rgen = rmlt = r9e = 1; } if (sz.indexOf("8") >= 0) { rgen = rmlt = r8e = 1; } if (sz.indexOf("6") >= 0) { rgen = r6e = 1; } if (sz.indexOf("5") >= 0) { rgen = r5e = 1; } if (rmlt == 0) { twend = sz.lastIndexOf("1"); if (sz.lastIndexOf("2") > twend) { twend = sz.lastIndexOf("2"); } if (sz.lastIndexOf("3") > twend) { twend = sz.lastIndexOf("3"); } if (sz.lastIndexOf("4") > twend) { twend = sz.lastIndexOf("4"); } } td1 = (sz.length != 1 ? '' : ''); var jps10 = pls2 = pls4 = jstart = jps1 = jps; var czr1a = jps11 = 0; if (inout == null || !inout) { inout = 0; } if (inout == 1) { for (var j = 0; j < sz.length; j++) { czr1a = sz.charAt(j); if (czr1a != 1 && czr1a != 3) { continue; } jps10++; jps11++; } } var jout = loops = looper = pls22 = pls44 = pls3 = offnine = 0; if (r6e == 0) { for (var i = jstart; i < dq1.length; i++) { if (!dq1[i]) { continue; } tline = ''; offnine = 0; if (in5 == 1 && pls44 == jps11) { break; } // if (in5 == 1 && jps >= sz.length) { break; } for (var j = loops; j < sz.length; j++) { czr1 = sz.charAt(j); if ((rmlt == 1 && czr1 >= 8) || in8 == 1) { if (offnine == 1) { break; } if (offnine == 0) { offnine = 1 ; } if (czr1 == 8 || in8 == 1) { czr6 = 0; for (var k = j+1; k < sz.length; k++) { czr7 = sz.charAt(k); if (czr7 == 8) { break; } if (czr7 == 1 || czr7 == 3) { czr6 += 2; } else if (czr7 == 2 || czr7 == 4) { czr6 += 1; } } n1w += ""; jps3++; if (j == 0) { in8 = 0; } } } } // n1w += ''; for (var j = loops; j < sz.length; j++) { jout = j; czr1 = sz.charAt(j); if (czr1 != 1 && czr1 != 3) { continue; } pls3++; czr2 = (sz.length > j + 1 ? sz.charAt(j+1) : -1); czr3 = (sz.length > j + 2 ? sz.charAt(j+2) : -1); czr4 = (sz.length > j - 1 ? sz.charAt(j-1) : -1); mox2 = 0; if (rmlt == 1) { twend = -1; czr5 = (sz.length > j + 3 ? sz.charAt(j+3) : -1); if (czr2 >= 8 || czr3 >= 8 || czr5 >= 8) { if (czr2 >= 8) { looper = j + 1; mox2 = 1; twend = j; } else if (czr3 >= 8 && czr2 != 1 && czr2 != 3) { looper = j + 2; mox2 = 1; // twend = (czr2 == 2 || czr2 == 4 ? j + 1 : -1); twend = (czr2 == 2 || czr2 == 4 || czr2 == 5 ? j + 1 : -1); } else if (czr5 >= 8 && czr2 != 1 && czr2 != 3 && czr3 != 1 && czr3 != 3) { looper = j + 3; mox2 = 1; twend = (czr2 == 2 || czr2 == 4 ? j + 1 : -1); } } } twrd = (pls22 == 0 ? 1 : 0); twra = ''; if (czr2 != 2 && czr2 != 4) { cwdth = 2; twrb = ''; twrc = ''; } else { cwdth = 3; twrb = ''; twrc = ''; } cspnafull = 0; if (inout == 1 && !dq2[jps]) { break; } if (czr2 != 7 && czr3 != 7 && czr4 != 7) { if (dq10[jps] != -8 && dq10[jps] != -1.5) { //topbot n1w += ""; cspnhalf = 0; } else { if (cspnhalf == 1 && (mox2 == 1 || dq13.length == jps || dq13.length == jps + 1)) { n1w += "
" + dq14[jps3] + "
"; if (cspnhalf == 0 && cspnar != 1) { n1w += ''; } if (cspnar != 1) { n1w += "
"; } else { n1w += "
"; } // n1w += "
"; } else { if (cspnhalf == 0) { n1w += ''; } cspnhalf = 1; n1w += ""; } else { n1w += "
  " + dq9[jps1] + " 
"; if (cspnar != 1) { n1w += "
"; } if (dq10[jps] != -6 && dq10[jps] != -3.5 && dq10[jps] != -8 && dq10[jps] != -1.5) { if (czr2 != 2 && czr2 != 4) { if (dq9[jps1+1] && dq9[jps1+1] == '
') { cspnar = 1; cspnafull = 4; n1w += ""; } else if (dq9[jps1] != '
') { cspnafull = 2; n1w += ""; } else if (dq9[jps1] == '
') { cspnar = 2; } } else { if (dq9[jps1+1] && dq9[jps1+1] == '
') { cspnar = 1; cspnafull = 6; n1w += ""; } else if (dq9[jps1] != '
') { cspnafull = 3; n1w += ""; } else if (dq9[jps1] == '
') { cspnar = 2; } } } else if (dq10[jps] == -6 || dq10[jps] == -3.5) { algn = (dq10[jps] == -3.5 ? 'center' : 'left'); if (czr2 != 2 && czr2 != 4) { n1w += ""; } else{ n1w += ""; } } else if (dq10[jps] == -8 || dq10[jps] == -1.5) { algn = (dq10[jps] == -1.5 ? 'center' : 'left'); cspnafull = 0; if (czr2 != 2 && czr2 != 4) { n1w += ""; } else { n1w += ""; } } if (cspnafull > 0 && cspnhalf == 0 && cspnar != 2) { n1w += ""; } if (cspnar == 2) { cspnar = 0; } if (!cspnhalf) { //topbot n1w += "
  " + dq9[jps1] + "
  " + dq9[jps1] + "
  " + dq9[jps1] + "
  " + dq9[jps1] + "
" + dq9[jps1] + " 
" + dq9[jps1] + " 
Full 
Full 
"; } if (czr1 == 1) { if (dq2[jps]) { for (var k = 0; k < dq2[jps].length; k++) { if (k < dq2[jps].length) { radiate1(jps,dq3[jps],k,dq4[jps],dq2[jps],'',twrb,1,dq15[jps],'',''); if (czr2 == 2) { radcheck1(dq5[jps],k,twrc,'','','',jps); } dq3[jps] = ''; } } } } else { if (dq2[jps]) { for (var k = 0; k < dq2[jps].length; k++) { if (k < dq2[jps].length) { checkerate1(jps,dq3[jps],k,dq2[jps],'',dq13[jps],'',1,'',dq18[jps],'','',''); if (czr2 == 4) { radcheck1(dq5[jps],k,twrc,dq13[jps],'','',jps); } } } } } n1w += ""; if ((cspnafull > 0 && cspnhalf == 0 && cspnar != 1) || cspnar == 2) { n1w += "

"; } } else { if (dq13[jps] && dq13[jps] != 0 && (dq13.length == jps || dq13.length == jps + 1 || !dq13[jps+1] || dq13[jps+1] == 0 || dq13[jps+1] == 2)) { n1w += "
"; } else { //topbot n1w += ""; n1w += ""; if (cspnhalf == 0) { n1w += ''; } } } } //sevens } else { if (dq10[jps] != -8 && dq10[jps] != -1.5) { //topbot n1w += ""; if (cspnhalf == 0) { n1w += ''; } n1w += "
"; } else { if (cspnhalf == 0) { n1w += ''; } cspnhalf = 1; n1w += ""; } else { if (dq13[jps] && dq13[jps] != 0 && (dq13.length == jps || dq13.length == jps + 1 || !dq13[jps+1] || dq13[jps+1] == 0 || dq13[jps+1] == 2)) { n1w += "
  " + dq9[jps1] + " 
"; n1w += "
"; } if (dq10[jps] != -6 && dq10[jps] != -3.5 && dq10[jps] != -8 && dq10[jps] != -1.5) { if (czr2 != 2 && czr2 != 4) { cspnafull = 2; n1w += ""; } else { cspnafull = 3; n1w += ""; } } else if (dq10[jps] == -6 || dq10[jps] == -3.5) { algn = (dq10[jps] == -3.5 ? 'center' : 'left'); if (czr2 != 2 && czr2 != 4) { n1w += ""; } else{ n1w += ""; } } else if (dq10[jps] == -8 || dq10[jps] == -1.5) { algn = (dq10[jps] == -1.5 ? 'center' : 'left'); cspnafull = 0; if (czr2 != 2 && czr2 != 4) { n1w += ""; } else { n1w += ""; } } if (cspnafull > 0 && cspnhalf == 0) { n1w += ""; } if (!cspnhalf) { //topbot n1w += "
  " + dq9[jps1] + "
  " + dq9[jps1] + "
" + dq9[jps1] + " 
" + dq9[jps1] + " 
Full 
Full 
"; } if (czr4 != 7) { if (czr1 == 1) { if (dq2[jps]) { for (var k = 0; k < dq2[jps].length; k++) { if (k < dq2[jps].length) { radiate2(jps,dq3[jps],k,dq4[jps],dq2[jps],dq6[jps],dq7[jps],'',twrb,1,dq15[jps],'',''); if (czr2 == 2) { radcheck1(dq5[jps],k,twrc,'','','',jps); } dq3[jps] = ''; } } } } else { if (dq2[jps]) { for (var k = 0; k < dq2[jps].length; k++) { if (k < dq2[jps].length) { checkerate2(jps,dq3[jps],k,dq2[jps],dq6[jps],dq7[jps],dq8[jps],'',twrb,1,'',dq18[jps],'','',''); if (czr2 == 4) { radcheck1(dq5[jps],k,twrc,'','','',jps); } } } } } } else { if (czr1 == 1) { if (dq2[jps]) { for (var k = 0; k < dq2[jps].length; k++) { if (k < dq2[jps].length) { radiate4(jps,dq3[jps],k,dq4[jps],dq2[jps],dq6[jps],dq7[jps],'',twrb,1,dq15[jps],'',''); if (czr2 == 2) { radcheck1(dq5[jps],k,twrc,'','','',jps); } dq3[jps] = ''; } } } } else { if (dq2[jps]) { for (var k = 0; k < dq2[jps].length; k++) { if (k < dq2[jps].length) { checkerate2(jps,dq3[jps],k,dq2[jps],dq6[jps],dq7[jps],dq8[jps],'',twrb,1,'',dq18[jps],'','',''); if (czr2 == 4) { radcheck1(dq5[jps],k,twrc,'','','',jps); } } } } } } n1w += ""; if (cspnafull > 0 && cspnhalf == 0) { n1w += "

"; cspnhalf = 0; } else { if (cspnhalf == 1 && (mox2 == 1 || dq13.length == jps || dq13.length == jps + 1)) { n1w += ""; } else { //topbot n1w += ""; n1w += ""; if (cspnhalf == 0) { n1w += ''; } } } } } jps++; jps1++; pls22++; if (mox2 == 1) { //new 04/28 n1w += "
"; // n1w += "
"; n1w += ""; loops = looper; mox2 = 0; if (inout == 1) { jout = looper + 1; return(jout); } break; } } pls44 = pls22; } if (inout == 1) { jps = jps10; } //sixes } else { for (var i = jstart; i < dq1.length; i++) { if (!dq1[i]) { continue; } tline = ''; offnine = 0; if (in5 == 1 && pls44 == jps11) { break; } for (var j = loops; j < sz.length; j++) { czr1 = sz.charAt(j); if ((rmlt == 1 && czr1 >= 8) || in8 == 1) { if (offnine == 1) { break; } if (offnine == 0) { offnine = 1 ; } if (czr1 == 8 || in8 == 1) { czr6 = 0; for (var k = j+1; k < sz.length; k++) { czr7 = sz.charAt(k); if (czr7 == 8) { break; } if (czr7 == 1 || czr7 == 3) { czr6 += 1; } else if (czr7 == 2 || czr7 == 4) { } } n1w += ""; jps3++; if (j == 0) { in8 = 0; } } } } n1w += ''; for (var j = loops; j < sz.length; j++) { jout = j; czr1 = sz.charAt(j); if (czr1 != 1 && czr1 != 3) { continue; } czr2 = (sz.length > j + 1 ? sz.charAt(j+1) : -1); czr3 = (sz.length > j + 2 ? sz.charAt(j+2) : -1); czr4 = (sz.length > j - 1 ? sz.charAt(j-1) : -1); mox2 = 0; if (rmlt == 1) { twend = -1; czr5 = (sz.length > j + 3 ? sz.charAt(j+3) : -1); if (czr2 >= 8 || czr3 >= 8 || czr5 >= 8) { if (czr2 >= 8) { looper = j + 1; mox2 = 1; twend = j; } else if (czr3 >= 8 && czr2 != 1 && czr2 != 3) { looper = j + 2; mox2 = 1; // twend = (czr2 == 2 || czr2 == 4 ? j + 1 : -1); twend = (czr2 == 2 || czr2 == 4 || czr2 == 5 ? j + 1 : -1); } else if (czr5 >= 8 && czr2 != 1 && czr2 != 3 && czr3 != 1 && czr3 != 3) { looper = j + 3; mox2 = 1; twend = (czr2 == 2 || czr2 == 4 ? j + 1 : -1); } } } twrd = (pls22 == 0 ? 1 : 0); twra = ''; if (czr2 != 2 && czr2 != 4) { cwdth = 2; twrb = ''; twrc = ''; } else { cwdth = 3; twrb = ''; twrc = ''; } cspnafull = 0; if (inout == 1 && !dq2[jps]) { break; } if (czr2 != 7 && czr3 != 7 && czr4 != 7) { if (dq10[jps] != -8 && dq10[jps] != -1.5) { //topbot n1w += ""; cspnhalf = 0; } else { if (cspnhalf == 1 && (mox2 == 1 || dq13.length == jps || dq13.length == jps + 1)) { n1w += "
" + dq14[jps3] + "
"; if (cspnhalf == 0 && cspnar != 1) { n1w += ''; } if (cspnar != 1) { n1w += "
"; } else { n1w += "
"; } } else { if (cspnhalf == 0) { n1w += ''; } cspnhalf = 1; n1w += ""; } else { if (dq13[jps] && dq13[jps] != 0 && (dq13.length == jps || dq13.length == jps + 1 || !dq13[jps+1] || dq13[jps+1] == 0 || dq13[jps+1] == 2)) { n1w += "
  " + dq9[jps1] + " 
"; n1w += "
"; } if (dq10[jps] != -6 && dq10[jps] != -3.5 && dq10[jps] != -8 && dq10[jps] != -1.5) { if (czr2 != 2 && czr2 != 4) { if (dq9[jps1+1] && dq9[jps1+1] == '
') { cspnar = 1; cspnafull = 4; n1w += ""; } else if (dq9[jps1] != '
') { cspnafull = 2; n1w += ""; } else if (dq9[jps1] == '
') { cspnar = 2; } } else { if (dq9[jps1+1] && dq9[jps1+1] == '
') { cspnar = 1; cspnafull = 6; n1w += ""; } else if (dq9[jps1] != '
') { cspnafull = 3; n1w += ""; } else if (dq9[jps1] == '
') { cspnar = 2; } } } else if (dq10[jps] == -6 || dq10[jps] == -3.5) { algn = (dq10[jps] == -3.5 ? 'center' : 'left'); if (czr2 != 2 && czr2 != 4) { n1w += ""; } else{ n1w += ""; } } else if (dq10[jps] == -8 || dq10[jps] == -1.5) { algn = (dq10[jps] == -1.5 ? 'center' : 'left'); cspnafull = 0; if (czr2 != 2 && czr2 != 4) { n1w += ""; } else { n1w += ""; } } if (cspnafull > 0 && cspnhalf == 0 && cspnar != 2) { n1w += ""; } if (cspnar == 2) { cspnar = 0; } if (!cspnhalf) { //topbot n1w += "
  " + dq9[jps1] + "
  " + dq9[jps1] + "
  " + dq9[jps1] + "
  " + dq9[jps1] + "
" + dq9[jps1] + " 
" + dq9[jps1] + " 
Full 
Full 
"; } if (!dq11[jps]) { if (czr1 == 1) { if (dq2[jps]) { for (var k = 0; k < dq2[jps].length; k++) { if (k < dq2[jps].length) { radiate1(jps,dq3[jps],k,dq4[jps],dq2[jps],'',twrb,1,dq15[jps],'',''); if (czr2 == 2) { radcheck1(dq5[jps],k,twrc,'','','',jps); } dq3[jps] = ''; } } } } else { if (dq2[jps]) { for (var k = 0; k < dq2[jps].length; k++) { if (k < dq2[jps].length) { checkerate1(jps,dq3[jps],k,dq2[jps],'',dq13[jps],'',1,'',dq18[jps],'','',''); if (czr2 == 4) { radcheck1(dq5[jps],k,twrc,dq13[jps],'','',jps); } } } } } } else { if (dq2[jps]) { for (var k = 0; k < dq2[jps].length; k++) { if (k < dq2[jps].length) { checkerate3(jps,dq3[jps],k,dq2[jps],dq6[jps],dq11[jps],dq12[jps],dq13[jps],twrb,1,'',dq18[jps],'','',''); } } } } n1w += ""; if ((cspnafull > 0 && cspnhalf == 0 && cspnar != 1) || cspnar == 2) { // if (cspnafull > 0 && cspnhalf == 0 && cspnar != 1) { n1w += "

"; } else { //topbot n1w += ""; n1w += ""; if (cspnhalf == 0) { n1w += ''; } } } } //sevens } else { //topbot n1w += ""; n1w += ""; n1w += "
"; cspnafull = 0; if (czr2 != 2 && czr2 != 4) { cspnafull = 1; n1w += ""; } else { cspnafull = 2; n1w += ""; } if (cspnafull > 0) { n1w += ""; } //topbot n1w += "
  " + dq9[jps1] + "
  " + dq9[jps1] + "
"; } if (czr4 != 7) { if (!dq11[jps]) { if (czr1 == 1) { if (dq2[jps]) { for (var k = 0; k < dq2[jps].length; k++) { if (k < dq2[jps].length) { radiate2(jps,dq3[jps],k,dq4[jps],dq2[jps],dq6[jps],dq7[jps],'',twrb,1,dq15[jps],'',''); if (czr2 == 2) { radcheck1(dq5[jps],k,twrc,'','','',jps); } dq3[jps] = ''; } } } } else { if (dq2[jps]) { for (var k = 0; k < dq2[jps].length; k++) { if (k < dq2[jps].length) { checkerate2(jps,dq3[jps],k,dq2[jps],dq6[jps],dq7[jps],dq8[jps],'',twrb,1,'',dq18[jps],'','',''); if (czr2 == 4) { radcheck1(dq5[jps],k,twrc,'','','',jps); } } } } } } else { if (dq2[jps]) { for (var k = 0; k < dq2[jps].length; k++) { if (k < dq2[jps].length) { checkerate3(jps,dq3[jps],k,dq2[jps],dq6[jps],dq11[jps],dq12[jps],dq13[jps],twrb,twrd,'',dq18[jps],'','',''); } } } } } else { if (czr1 == 1) { if (dq2[jps]) { for (var k = 0; k < dq2[jps].length; k++) { if (k < dq2[jps].length) { radiate4(jps,dq3[jps],k,dq4[jps],dq2[jps],dq6[jps],dq7[jps],td1,twrb,1,dq15[jps],'',''); if (czr2 == 2) { radcheck1(dq5[jps],k,twrc,'','','',jps); } dq3[jps] = ''; } } } } else { if (dq2[jps]) { for (var k = 0; k < dq2[jps].length; k++) { if (k < dq2[jps].length) { checkerate2(jps,dq3[jps],k,dq2[jps],dq6[jps],dq7[jps],dq8[jps],td1,twrb,1,'',dq18[jps],'','',''); if (czr2 == 4) { radcheck1(dq5[jps],k,twrc,'','','',jps); } } } } } } n1w += ""; if (cspnafull > 0 && cspnhalf == 0) { n1w += "

"; } jps++; jps1++; pls22++; if (mox2 == 1) { n1w += "
"; n1w += ""; loops = looper; mox2 = 0; if (inout == 1) { jout = looper + 1; return(jout); } break; } } n1w += ''; pls44 = pls22; } if (inout == 1) { jps = jps10; } } if (inout == 1) { return(jout); } } function a1() { w1h = 620; n_0 = ld1; ck0 = ""; c_h0 = wu1; c0 = extras1_0; c0p = extras1_0p; ar_len001 = extras1_0; n_1 = ld2; ck1 = ""; c_h1 = wu2; c1 = extras2_0; c1p = extras2_0p; ar_len021 = extras2_0; w1d = 554; icol_a = 4; icol_b = 6; dq1 = new Array(extras1_0,extras2_0); dq2 = new Array(c0,c1); dq3 = new Array(ck0,ck1); dq4 = new Array('',''); dq5 = new Array(c0p,c1p); dq6 = new Array('',''); dq7 = new Array('',''); dq8 = new Array('',''); dq9 = new Array(n_0,n_1); dq10 = new Array(0,0); dq11 = new Array('',''); dq12 = new Array('',''); dq13 = new Array('0','0'); dq15 = new Array('',''); dq16 = new Array('',''); dq17 = new Array(1,1); dq18 = new Array(1,1); dq19 = new Array('',''); } function a2() { w1h = 620; n_0 = ld1; ck0 = ""; c_h0 = wu1; c0 = extras1_0; c0p = extras1_0p; ar_len001 = extras1_0; n_1 = ld2; ck1 = ""; c_h1 = wu2; c1 = extras2_0; c1p = extras2_0p; ar_len021 = extras2_0; w1d = 554; icol_a = 4; icol_b = 6; dq1 = new Array(extras1_0,extras2_0); dq2 = new Array(c0,c1); dq3 = new Array(ck0,ck1); dq4 = new Array('',''); dq5 = new Array(c0p,c1p); dq6 = new Array('',''); dq7 = new Array('',''); dq8 = new Array('',''); dq9 = new Array(n_0,n_1); dq10 = new Array(0,0); dq11 = new Array('',''); dq12 = new Array('',''); dq13 = new Array('0','0'); dq15 = new Array('',''); dq16 = new Array('',''); dq17 = new Array(1,1); dq18 = new Array(1,1); dq19 = new Array('',''); } function a3() { w1h = 620; n_0 = ld1; ck0 = ""; c_h0 = wu1; c0 = extras1_0; c0p = extras1_0p; ar_len001 = extras1_0; n_1 = ld2; ck1 = ""; c_h1 = wu2; c1 = extras2_0; c1p = extras2_0p; ar_len021 = extras2_0; w1d = 554; icol_a = 4; icol_b = 6; dq1 = new Array(extras1_0,extras2_0); dq2 = new Array(c0,c1); dq3 = new Array(ck0,ck1); dq4 = new Array('',''); dq5 = new Array(c0p,c1p); dq6 = new Array('',''); dq7 = new Array('',''); dq8 = new Array('',''); dq9 = new Array(n_0,n_1); dq10 = new Array(0,0); dq11 = new Array('',''); dq12 = new Array('',''); dq13 = new Array('0','0'); dq15 = new Array('',''); dq16 = new Array('',''); dq17 = new Array(1,1); dq18 = new Array(1,1); dq19 = new Array('',''); } function a4() { w1h = 620; n_0 = ld1; ck0 = ""; c_h0 = wu1; c0 = extras1_0; c0p = extras1_0p; ar_len001 = extras1_0; n_1 = ld2; ck1 = ""; c_h1 = wu2; c1 = extras2_0; c1p = extras2_0p; ar_len021 = extras2_0; w1d = 554; icol_a = 4; icol_b = 6; dq1 = new Array(extras1_0,extras2_0); dq2 = new Array(c0,c1); dq3 = new Array(ck0,ck1); dq4 = new Array('',''); dq5 = new Array(c0p,c1p); dq6 = new Array('',''); dq7 = new Array('',''); dq8 = new Array('',''); dq9 = new Array(n_0,n_1); dq10 = new Array(0,0); dq11 = new Array('',''); dq12 = new Array('',''); dq13 = new Array('0','0'); dq15 = new Array('',''); dq16 = new Array('',''); dq17 = new Array(1,1); dq18 = new Array(1,1); dq19 = new Array('',''); } function a5() { w1h = 620; n_0 = ld1; ck0 = ""; c_h0 = wu1; c0 = extras1_0; c0p = extras1_0p; ar_len001 = extras1_0; n_1 = ld2; ck1 = ""; c_h1 = wu2; c1 = extras2_0; c1p = extras2_0p; ar_len021 = extras2_0; w1d = 554; icol_a = 4; icol_b = 6; dq1 = new Array(extras1_0,extras2_0); dq2 = new Array(c0,c1); dq3 = new Array(ck0,ck1); dq4 = new Array('',''); dq5 = new Array(c0p,c1p); dq6 = new Array('',''); dq7 = new Array('',''); dq8 = new Array('',''); dq9 = new Array(n_0,n_1); dq10 = new Array(0,0); dq11 = new Array('',''); dq12 = new Array('',''); dq13 = new Array('0','0'); dq15 = new Array('',''); dq16 = new Array('',''); dq17 = new Array(1,1); dq18 = new Array(1,1); dq19 = new Array('',''); } function a6() { w1h = 620; n_0 = ld1; ck0 = ""; c_h0 = wu1; c0 = extras1_0; c0p = extras1_0p; ar_len001 = extras1_0; n_1 = ld2; ck1 = ""; c_h1 = wu2; c1 = extras2_0; c1p = extras2_0p; ar_len021 = extras2_0; w1d = 554; icol_a = 4; icol_b = 6; dq1 = new Array(extras1_0,extras2_0); dq2 = new Array(c0,c1); dq3 = new Array(ck0,ck1); dq4 = new Array('',''); dq5 = new Array(c0p,c1p); dq6 = new Array('',''); dq7 = new Array('',''); dq8 = new Array('',''); dq9 = new Array(n_0,n_1); dq10 = new Array(0,0); dq11 = new Array('',''); dq12 = new Array('',''); dq13 = new Array('0','0'); dq15 = new Array('',''); dq16 = new Array('',''); dq17 = new Array(1,1); dq18 = new Array(1,1); dq19 = new Array('',''); } function a7() { w1h = 620; n_0 = ld1; ck0 = ""; c_h0 = wu1; c0 = extras1_0; c0p = extras1_0p; ar_len001 = extras1_0; n_1 = ld2; ck1 = ""; c_h1 = wu2; c1 = extras2_0; c1p = extras2_0p; ar_len021 = extras2_0; w1d = 554; icol_a = 4; icol_b = 6; dq1 = new Array(extras1_0,extras2_0); dq2 = new Array(c0,c1); dq3 = new Array(ck0,ck1); dq4 = new Array('',''); dq5 = new Array(c0p,c1p); dq6 = new Array('',''); dq7 = new Array('',''); dq8 = new Array('',''); dq9 = new Array(n_0,n_1); dq10 = new Array(0,0); dq11 = new Array('',''); dq12 = new Array('',''); dq13 = new Array('0','0'); dq15 = new Array('',''); dq16 = new Array('',''); dq17 = new Array(1,1); dq18 = new Array(1,1); dq19 = new Array('',''); } function a8() { w1h = 620; n_0 = ld1; ck0 = ""; c_h0 = wu1; c0 = extras1_0; c0p = extras1_0p; ar_len001 = extras1_0; n_1 = ld2; ck1 = ""; c_h1 = wu2; c1 = extras2_0; c1p = extras2_0p; ar_len021 = extras2_0; w1d = 554; icol_a = 4; icol_b = 6; dq1 = new Array(extras1_0,extras2_0); dq2 = new Array(c0,c1); dq3 = new Array(ck0,ck1); dq4 = new Array('',''); dq5 = new Array(c0p,c1p); dq6 = new Array('',''); dq7 = new Array('',''); dq8 = new Array('',''); dq9 = new Array(n_0,n_1); dq10 = new Array(0,0); dq11 = new Array('',''); dq12 = new Array('',''); dq13 = new Array('0','0'); dq15 = new Array('',''); dq16 = new Array('',''); dq17 = new Array(1,1); dq18 = new Array(1,1); dq19 = new Array('',''); } function a9() { w1h = 620; n_0 = ld1; ck0 = ""; c_h0 = wu1; c0 = extras1_0; c0p = extras1_0p; ar_len001 = extras1_0; n_1 = ld2; ck1 = ""; c_h1 = wu2; c1 = extras2_0; c1p = extras2_0p; ar_len021 = extras2_0; w1d = 554; icol_a = 4; icol_b = 6; dq1 = new Array(extras1_0,extras2_0); dq2 = new Array(c0,c1); dq3 = new Array(ck0,ck1); dq4 = new Array('',''); dq5 = new Array(c0p,c1p); dq6 = new Array('',''); dq7 = new Array('',''); dq8 = new Array('',''); dq9 = new Array(n_0,n_1); dq10 = new Array(0,0); dq11 = new Array('',''); dq12 = new Array('',''); dq13 = new Array('0','0'); dq15 = new Array('',''); dq16 = new Array('',''); dq17 = new Array(1,1); dq18 = new Array(1,1); dq19 = new Array('',''); } function a10() { w1h = 620; n_0 = ld1; ck0 = ""; c_h0 = wu1; c0 = extras1_0; c0p = extras1_0p; ar_len001 = extras1_0; n_1 = ld2; ck1 = ""; c_h1 = wu2; c1 = extras2_0; c1p = extras2_0p; ar_len021 = extras2_0; w1d = 554; icol_a = 4; icol_b = 6; dq1 = new Array(extras1_0,extras2_0); dq2 = new Array(c0,c1); dq3 = new Array(ck0,ck1); dq4 = new Array('',''); dq5 = new Array(c0p,c1p); dq6 = new Array('',''); dq7 = new Array('',''); dq8 = new Array('',''); dq9 = new Array(n_0,n_1); dq10 = new Array(0,0); dq11 = new Array('',''); dq12 = new Array('',''); dq13 = new Array('0','0'); dq15 = new Array('',''); dq16 = new Array('',''); dq17 = new Array(1,1); dq18 = new Array(1,1); dq19 = new Array('',''); } function a11() { w1h = 620; n_0 = ld1; ck0 = ""; c_h0 = wu1; c0 = extras1_0; c0p = extras1_0p; ar_len001 = extras1_0; n_1 = ld2; ck1 = ""; c_h1 = wu2; c1 = extras2_0; c1p = extras2_0p; ar_len021 = extras2_0; w1d = 554; icol_a = 4; icol_b = 6; dq1 = new Array(extras1_0,extras2_0); dq2 = new Array(c0,c1); dq3 = new Array(ck0,ck1); dq4 = new Array('',''); dq5 = new Array(c0p,c1p); dq6 = new Array('',''); dq7 = new Array('',''); dq8 = new Array('',''); dq9 = new Array(n_0,n_1); dq10 = new Array(0,0); dq11 = new Array('',''); dq12 = new Array('',''); dq13 = new Array('0','0'); dq15 = new Array('',''); dq16 = new Array('',''); dq17 = new Array(1,1); dq18 = new Array(1,1); dq19 = new Array('',''); } function a12() { w1h = 620; n_0 = ld1; ck0 = ""; c_h0 = wu1; c0 = extras1_0; c0p = extras1_0p; ar_len001 = extras1_0; n_1 = ld2; ck1 = ""; c_h1 = wu2; c1 = extras2_0; c1p = extras2_0p; ar_len021 = extras2_0; w1d = 554; icol_a = 4; icol_b = 6; dq1 = new Array(extras1_0,extras2_0); dq2 = new Array(c0,c1); dq3 = new Array(ck0,ck1); dq4 = new Array('',''); dq5 = new Array(c0p,c1p); dq6 = new Array('',''); dq7 = new Array('',''); dq8 = new Array('',''); dq9 = new Array(n_0,n_1); dq10 = new Array(0,0); dq11 = new Array('',''); dq12 = new Array('',''); dq13 = new Array('0','0'); dq15 = new Array('',''); dq16 = new Array('',''); dq17 = new Array(1,1); dq18 = new Array(1,1); dq19 = new Array('',''); } function a13() { w1h = 620; n_0 = ld1; ck0 = ""; c_h0 = wu1; c0 = extras1_0; c0p = extras1_0p; ar_len001 = extras1_0; n_1 = ld2; ck1 = ""; c_h1 = wu2; c1 = extras2_0; c1p = extras2_0p; ar_len021 = extras2_0; w1d = 554; icol_a = 4; icol_b = 6; dq1 = new Array(extras1_0,extras2_0); dq2 = new Array(c0,c1); dq3 = new Array(ck0,ck1); dq4 = new Array('',''); dq5 = new Array(c0p,c1p); dq6 = new Array('',''); dq7 = new Array('',''); dq8 = new Array('',''); dq9 = new Array(n_0,n_1); dq10 = new Array(0,0); dq11 = new Array('',''); dq12 = new Array('',''); dq13 = new Array('0','0'); dq15 = new Array('',''); dq16 = new Array('',''); dq17 = new Array(1,1); dq18 = new Array(1,1); dq19 = new Array('',''); } function a14() { w1h = 620; n_0 = ld1; ck0 = ""; c_h0 = wu1; c0 = extras1_0; c0p = extras1_0p; ar_len001 = extras1_0; n_1 = ld2; ck1 = ""; c_h1 = wu2; c1 = extras2_0; c1p = extras2_0p; ar_len021 = extras2_0; w1d = 554; icol_a = 4; icol_b = 6; dq1 = new Array(extras1_0,extras2_0); dq2 = new Array(c0,c1); dq3 = new Array(ck0,ck1); dq4 = new Array('',''); dq5 = new Array(c0p,c1p); dq6 = new Array('',''); dq7 = new Array('',''); dq8 = new Array('',''); dq9 = new Array(n_0,n_1); dq10 = new Array(0,0); dq11 = new Array('',''); dq12 = new Array('',''); dq13 = new Array('0','0'); dq15 = new Array('',''); dq16 = new Array('',''); dq17 = new Array(1,1); dq18 = new Array(1,1); dq19 = new Array('',''); } function a15() { w1h = 620; n_0 = ld1; ck0 = ""; c_h0 = wu1; c0 = extras1_0; c0p = extras1_0p; ar_len001 = extras1_0; n_1 = ld2; ck1 = ""; c_h1 = wu2; c1 = extras2_0; c1p = extras2_0p; ar_len021 = extras2_0; w1d = 554; icol_a = 4; icol_b = 6; dq1 = new Array(extras1_0,extras2_0); dq2 = new Array(c0,c1); dq3 = new Array(ck0,ck1); dq4 = new Array('',''); dq5 = new Array(c0p,c1p); dq6 = new Array('',''); dq7 = new Array('',''); dq8 = new Array('',''); dq9 = new Array(n_0,n_1); dq10 = new Array(0,0); dq11 = new Array('',''); dq12 = new Array('',''); dq13 = new Array('0','0'); dq15 = new Array('',''); dq16 = new Array('',''); dq17 = new Array(1,1); dq18 = new Array(1,1); dq19 = new Array('',''); } function a16() { w1h = 620; n_0 = ld1; ck0 = ""; c_h0 = wu1; c0 = extras1_0; c0p = extras1_0p; ar_len001 = extras1_0; n_1 = ld2; ck1 = ""; c_h1 = wu2; c1 = extras2_0; c1p = extras2_0p; ar_len021 = extras2_0; w1d = 554; icol_a = 4; icol_b = 6; dq1 = new Array(extras1_0,extras2_0); dq2 = new Array(c0,c1); dq3 = new Array(ck0,ck1); dq4 = new Array('',''); dq5 = new Array(c0p,c1p); dq6 = new Array('',''); dq7 = new Array('',''); dq8 = new Array('',''); dq9 = new Array(n_0,n_1); dq10 = new Array(0,0); dq11 = new Array('',''); dq12 = new Array('',''); dq13 = new Array('0','0'); dq15 = new Array('',''); dq16 = new Array('',''); dq17 = new Array(1,1); dq18 = new Array(1,1); dq19 = new Array('',''); } function a17() { w1h = 620; n_0 = ld1; ck0 = ""; c_h0 = wu1; c0 = extras1_0; c0p = extras1_0p; ar_len001 = extras1_0; n_1 = ld2; ck1 = ""; c_h1 = wu2; c1 = extras2_0; c1p = extras2_0p; ar_len021 = extras2_0; w1d = 554; icol_a = 4; icol_b = 6; dq1 = new Array(extras1_0,extras2_0); dq2 = new Array(c0,c1); dq3 = new Array(ck0,ck1); dq4 = new Array('',''); dq5 = new Array(c0p,c1p); dq6 = new Array('',''); dq7 = new Array('',''); dq8 = new Array('',''); dq9 = new Array(n_0,n_1); dq10 = new Array(0,0); dq11 = new Array('',''); dq12 = new Array('',''); dq13 = new Array('0','0'); dq15 = new Array('',''); dq16 = new Array('',''); dq17 = new Array(1,1); dq18 = new Array(1,1); dq19 = new Array('',''); } function a18() { w1h = 620; n_0 = ld1; ck0 = ""; c_h0 = wu1; c0 = extras1_0; c0p = extras1_0p; ar_len001 = extras1_0; n_1 = ld2; ck1 = ""; c_h1 = wu2; c1 = extras2_0; c1p = extras2_0p; ar_len021 = extras2_0; w1d = 554; icol_a = 4; icol_b = 6; dq1 = new Array(extras1_0,extras2_0); dq2 = new Array(c0,c1); dq3 = new Array(ck0,ck1); dq4 = new Array('',''); dq5 = new Array(c0p,c1p); dq6 = new Array('',''); dq7 = new Array('',''); dq8 = new Array('',''); dq9 = new Array(n_0,n_1); dq10 = new Array(0,0); dq11 = new Array('',''); dq12 = new Array('',''); dq13 = new Array('0','0'); dq15 = new Array('',''); dq16 = new Array('',''); dq17 = new Array(1,1); dq18 = new Array(1,1); dq19 = new Array('',''); } function a19() { w1h = 620; n_0 = ld1; ck0 = ""; c_h0 = wu1; c0 = extras1_0; c0p = extras1_0p; ar_len001 = extras1_0; n_1 = ld2; ck1 = ""; c_h1 = wu2; c1 = extras2_0; c1p = extras2_0p; ar_len021 = extras2_0; w1d = 554; icol_a = 4; icol_b = 6; dq1 = new Array(extras1_0,extras2_0); dq2 = new Array(c0,c1); dq3 = new Array(ck0,ck1); dq4 = new Array('',''); dq5 = new Array(c0p,c1p); dq6 = new Array('',''); dq7 = new Array('',''); dq8 = new Array('',''); dq9 = new Array(n_0,n_1); dq10 = new Array(0,0); dq11 = new Array('',''); dq12 = new Array('',''); dq13 = new Array('0','0'); dq15 = new Array('',''); dq16 = new Array('',''); dq17 = new Array(1,1); dq18 = new Array(1,1); dq19 = new Array('',''); } function a20() { w1h = 620; n_0 = ld1; ck0 = ""; c_h0 = wu1; c0 = extras1_0; c0p = extras1_0p; ar_len001 = extras1_0; n_1 = ld2; ck1 = ""; c_h1 = wu2; c1 = extras2_0; c1p = extras2_0p; ar_len021 = extras2_0; w1d = 554; icol_a = 4; icol_b = 6; dq1 = new Array(extras1_0,extras2_0); dq2 = new Array(c0,c1); dq3 = new Array(ck0,ck1); dq4 = new Array('',''); dq5 = new Array(c0p,c1p); dq6 = new Array('',''); dq7 = new Array('',''); dq8 = new Array('',''); dq9 = new Array(n_0,n_1); dq10 = new Array(0,0); dq11 = new Array('',''); dq12 = new Array('',''); dq13 = new Array('0','0'); dq15 = new Array('',''); dq16 = new Array('',''); dq17 = new Array(1,1); dq18 = new Array(1,1); dq19 = new Array('',''); } function a21() { w1h = 620; n_0 = ld1; ck0 = ""; c_h0 = wu1; c0 = extras1_0; c0p = extras1_0p; ar_len001 = extras1_0; n_1 = ld2; ck1 = ""; c_h1 = wu2; c1 = extras2_0; c1p = extras2_0p; ar_len021 = extras2_0; w1d = 554; icol_a = 4; icol_b = 6; dq1 = new Array(extras1_0,extras2_0); dq2 = new Array(c0,c1); dq3 = new Array(ck0,ck1); dq4 = new Array('',''); dq5 = new Array(c0p,c1p); dq6 = new Array('',''); dq7 = new Array('',''); dq8 = new Array('',''); dq9 = new Array(n_0,n_1); dq10 = new Array(0,0); dq11 = new Array('',''); dq12 = new Array('',''); dq13 = new Array('0','0'); dq15 = new Array('',''); dq16 = new Array('',''); dq17 = new Array(1,1); dq18 = new Array(1,1); dq19 = new Array('',''); } function a22() { w1h = 620; n_0 = ld1; ck0 = ""; c_h0 = wu1; c0 = extras1_0; c0p = extras1_0p; ar_len001 = extras1_0; n_1 = ld2; ck1 = ""; c_h1 = wu2; c1 = extras2_0; c1p = extras2_0p; ar_len021 = extras2_0; w1d = 554; icol_a = 4; icol_b = 6; dq1 = new Array(extras1_0,extras2_0); dq2 = new Array(c0,c1); dq3 = new Array(ck0,ck1); dq4 = new Array('',''); dq5 = new Array(c0p,c1p); dq6 = new Array('',''); dq7 = new Array('',''); dq8 = new Array('',''); dq9 = new Array(n_0,n_1); dq10 = new Array(0,0); dq11 = new Array('',''); dq12 = new Array('',''); dq13 = new Array('0','0'); dq15 = new Array('',''); dq16 = new Array('',''); dq17 = new Array(1,1); dq18 = new Array(1,1); dq19 = new Array('',''); } function a23() { w1h = 620; n_0 = ld1; ck0 = ""; c_h0 = wu1; c0 = extras1_0; c0p = extras1_0p; ar_len001 = extras1_0; n_1 = ld2; ck1 = ""; c_h1 = wu2; c1 = extras2_0; c1p = extras2_0p; ar_len021 = extras2_0; w1d = 554; icol_a = 4; icol_b = 6; dq1 = new Array(extras1_0,extras2_0); dq2 = new Array(c0,c1); dq3 = new Array(ck0,ck1); dq4 = new Array('',''); dq5 = new Array(c0p,c1p); dq6 = new Array('',''); dq7 = new Array('',''); dq8 = new Array('',''); dq9 = new Array(n_0,n_1); dq10 = new Array(0,0); dq11 = new Array('',''); dq12 = new Array('',''); dq13 = new Array('0','0'); dq15 = new Array('',''); dq16 = new Array('',''); dq17 = new Array(1,1); dq18 = new Array(1,1); dq19 = new Array('',''); } function a24() { w1h = 620; n_0 = ld1; ck0 = ""; c_h0 = wu1; c0 = extras1_0; c0p = extras1_0p; ar_len001 = extras1_0; n_1 = ld2; ck1 = ""; c_h1 = wu2; c1 = extras2_0; c1p = extras2_0p; ar_len021 = extras2_0; w1d = 554; icol_a = 4; icol_b = 6; dq1 = new Array(extras1_0,extras2_0); dq2 = new Array(c0,c1); dq3 = new Array(ck0,ck1); dq4 = new Array('',''); dq5 = new Array(c0p,c1p); dq6 = new Array('',''); dq7 = new Array('',''); dq8 = new Array('',''); dq9 = new Array(n_0,n_1); dq10 = new Array(0,0); dq11 = new Array('',''); dq12 = new Array('',''); dq13 = new Array('0','0'); dq15 = new Array('',''); dq16 = new Array('',''); dq17 = new Array(1,1); dq18 = new Array(1,1); dq19 = new Array('',''); } function a25() { w1h = 620; n_0 = ld1; ck0 = ""; c_h0 = wu1; c0 = extras1_0; c0p = extras1_0p; ar_len001 = extras1_0; n_1 = ld2; ck1 = ""; c_h1 = wu2; c1 = extras2_0; c1p = extras2_0p; ar_len021 = extras2_0; w1d = 554; icol_a = 4; icol_b = 6; dq1 = new Array(extras1_0,extras2_0); dq2 = new Array(c0,c1); dq3 = new Array(ck0,ck1); dq4 = new Array('',''); dq5 = new Array(c0p,c1p); dq6 = new Array('',''); dq7 = new Array('',''); dq8 = new Array('',''); dq9 = new Array(n_0,n_1); dq10 = new Array(0,0); dq11 = new Array('',''); dq12 = new Array('',''); dq13 = new Array('0','0'); dq15 = new Array('',''); dq16 = new Array('',''); dq17 = new Array(1,1); dq18 = new Array(1,1); dq19 = new Array('',''); } function a26() { w1h = 620; n_0 = ld1; ck0 = ""; c_h0 = wu1; c0 = extras1_0; c0p = extras1_0p; ar_len001 = extras1_0; n_1 = ld2; ck1 = ""; c_h1 = wu2; c1 = extras2_0; c1p = extras2_0p; ar_len021 = extras2_0; w1d = 554; icol_a = 4; icol_b = 6; dq1 = new Array(extras1_0,extras2_0); dq2 = new Array(c0,c1); dq3 = new Array(ck0,ck1); dq4 = new Array('',''); dq5 = new Array(c0p,c1p); dq6 = new Array('',''); dq7 = new Array('',''); dq8 = new Array('',''); dq9 = new Array(n_0,n_1); dq10 = new Array(0,0); dq11 = new Array('',''); dq12 = new Array('',''); dq13 = new Array('0','0'); dq15 = new Array('',''); dq16 = new Array('',''); dq17 = new Array(1,1); dq18 = new Array(1,1); dq19 = new Array('',''); } function a27() { w1h = 620; n_0 = ld1; ck0 = ""; c_h0 = wu1; c0 = extras1_0; c0p = extras1_0p; ar_len001 = extras1_0; n_1 = ld2; ck1 = ""; c_h1 = wu2; c1 = extras2_0; c1p = extras2_0p; ar_len021 = extras2_0; w1d = 554; icol_a = 4; icol_b = 6; dq1 = new Array(extras1_0,extras2_0); dq2 = new Array(c0,c1); dq3 = new Array(ck0,ck1); dq4 = new Array('',''); dq5 = new Array(c0p,c1p); dq6 = new Array('',''); dq7 = new Array('',''); dq8 = new Array('',''); dq9 = new Array(n_0,n_1); dq10 = new Array(0,0); dq11 = new Array('',''); dq12 = new Array('',''); dq13 = new Array('0','0'); dq15 = new Array('',''); dq16 = new Array('',''); dq17 = new Array(1,1); dq18 = new Array(1,1); dq19 = new Array('',''); } function a28() { w1h = 620; n_0 = ld1; ck0 = ""; c_h0 = wu1; c0 = extras1_0; c0p = extras1_0p; ar_len001 = extras1_0; n_1 = ld2; ck1 = ""; c_h1 = wu2; c1 = extras2_0; c1p = extras2_0p; ar_len021 = extras2_0; w1d = 554; icol_a = 4; icol_b = 6; dq1 = new Array(extras1_0,extras2_0); dq2 = new Array(c0,c1); dq3 = new Array(ck0,ck1); dq4 = new Array('',''); dq5 = new Array(c0p,c1p); dq6 = new Array('',''); dq7 = new Array('',''); dq8 = new Array('',''); dq9 = new Array(n_0,n_1); dq10 = new Array(0,0); dq11 = new Array('',''); dq12 = new Array('',''); dq13 = new Array('0','0'); dq15 = new Array('',''); dq16 = new Array('',''); dq17 = new Array(1,1); dq18 = new Array(1,1); dq19 = new Array('',''); } function a29() { w1h = 620; n_0 = ld1; ck0 = ""; c_h0 = wu1; c0 = extras1_0; c0p = extras1_0p; ar_len001 = extras1_0; n_1 = ld2; ck1 = ""; c_h1 = wu2; c1 = extras2_0; c1p = extras2_0p; ar_len021 = extras2_0; w1d = 554; icol_a = 4; icol_b = 6; dq1 = new Array(extras1_0,extras2_0); dq2 = new Array(c0,c1); dq3 = new Array(ck0,ck1); dq4 = new Array('',''); dq5 = new Array(c0p,c1p); dq6 = new Array('',''); dq7 = new Array('',''); dq8 = new Array('',''); dq9 = new Array(n_0,n_1); dq10 = new Array(0,0); dq11 = new Array('',''); dq12 = new Array('',''); dq13 = new Array('0','0'); dq15 = new Array('',''); dq16 = new Array('',''); dq17 = new Array(1,1); dq18 = new Array(1,1); dq19 = new Array('',''); } function a30() { w1h = 620; n_0 = ld1; ck0 = ""; c_h0 = wu1; c0 = extras1_0; c0p = extras1_0p; ar_len001 = extras1_0; n_1 = ld2; ck1 = ""; c_h1 = wu2; c1 = extras2_0; c1p = extras2_0p; ar_len021 = extras2_0; w1d = 554; icol_a = 4; icol_b = 6; dq1 = new Array(extras1_0,extras2_0); dq2 = new Array(c0,c1); dq3 = new Array(ck0,ck1); dq4 = new Array('',''); dq5 = new Array(c0p,c1p); dq6 = new Array('',''); dq7 = new Array('',''); dq8 = new Array('',''); dq9 = new Array(n_0,n_1); dq10 = new Array(0,0); dq11 = new Array('',''); dq12 = new Array('',''); dq13 = new Array('0','0'); dq15 = new Array('',''); dq16 = new Array('',''); dq17 = new Array(1,1); dq18 = new Array(1,1); dq19 = new Array('',''); } function a31() { w1h = 620; n_0 = ld3; ck0 = cx1; c_h0 = wu3; c0 = with44_0; ar_len000 = with44_0; n_1 = ld1; ck1 = ""; c_h1 = wu1; c1 = extras1_0; c1p = extras1_0p; ar_len011 = extras1_0; n_2 = ld2; ck2 = ""; c_h2 = wu2; c2 = extras2_0; c2p = extras2_0p; ar_len031 = extras2_0; w1d = 679; icol_a = 6; icol_b = 8; dq1 = new Array(with44_0,extras1_0,extras2_0); dq2 = new Array(c0,c1,c2); dq3 = new Array(ck0,ck1,ck2); dq4 = new Array('','',''); dq5 = new Array('',c1p,c2p); dq6 = new Array('','',''); dq7 = new Array('','',''); dq8 = new Array('','',''); dq9 = new Array(n_0,n_1,n_2); dq10 = new Array(0,0,0); dq11 = new Array('','',''); dq12 = new Array('','',''); dq13 = new Array('0','0','0'); dq15 = new Array('','',''); dq16 = new Array('','',''); dq17 = new Array(1,1,1); dq18 = new Array(0,1,1); dq19 = new Array('','',''); } function a32() { w1h = 620; n_0 = ld1; ck0 = ""; c_h0 = wu1; c0 = extras1_0; c0p = extras1_0p; ar_len001 = extras1_0; n_1 = ld2; ck1 = ""; c_h1 = wu2; c1 = extras2_0; c1p = extras2_0p; ar_len021 = extras2_0; w1d = 554; icol_a = 4; icol_b = 6; dq1 = new Array(extras1_0,extras2_0); dq2 = new Array(c0,c1); dq3 = new Array(ck0,ck1); dq4 = new Array('',''); dq5 = new Array(c0p,c1p); dq6 = new Array('',''); dq7 = new Array('',''); dq8 = new Array('',''); dq9 = new Array(n_0,n_1); dq10 = new Array(0,0); dq11 = new Array('',''); dq12 = new Array('',''); dq13 = new Array('0','0'); dq15 = new Array('',''); dq16 = new Array('',''); dq17 = new Array(1,1); dq18 = new Array(1,1); dq19 = new Array('',''); } function a33() { w1h = 620; n_0 = ld1; ck0 = ""; c_h0 = wu1; c0 = extras1_0; c0p = extras1_0p; ar_len001 = extras1_0; n_1 = ld2; ck1 = ""; c_h1 = wu2; c1 = extras2_0; c1p = extras2_0p; ar_len021 = extras2_0; w1d = 554; icol_a = 4; icol_b = 6; dq1 = new Array(extras1_0,extras2_0); dq2 = new Array(c0,c1); dq3 = new Array(ck0,ck1); dq4 = new Array('',''); dq5 = new Array(c0p,c1p); dq6 = new Array('',''); dq7 = new Array('',''); dq8 = new Array('',''); dq9 = new Array(n_0,n_1); dq10 = new Array(0,0); dq11 = new Array('',''); dq12 = new Array('',''); dq13 = new Array('0','0'); dq15 = new Array('',''); dq16 = new Array('',''); dq17 = new Array(1,1); dq18 = new Array(1,1); dq19 = new Array('',''); } function a34() { w1h = 620; n_0 = ld1; ck0 = ""; c_h0 = wu1; c0 = extras1_0; c0p = extras1_0p; ar_len001 = extras1_0; n_1 = ld2; ck1 = ""; c_h1 = wu2; c1 = extras2_0; c1p = extras2_0p; ar_len021 = extras2_0; w1d = 554; icol_a = 4; icol_b = 6; dq1 = new Array(extras1_0,extras2_0); dq2 = new Array(c0,c1); dq3 = new Array(ck0,ck1); dq4 = new Array('',''); dq5 = new Array(c0p,c1p); dq6 = new Array('',''); dq7 = new Array('',''); dq8 = new Array('',''); dq9 = new Array(n_0,n_1); dq10 = new Array(0,0); dq11 = new Array('',''); dq12 = new Array('',''); dq13 = new Array('0','0'); dq15 = new Array('',''); dq16 = new Array('',''); dq17 = new Array(1,1); dq18 = new Array(1,1); dq19 = new Array('',''); } function wier(ider) { window[ider](); } function offsider() { dq15 = 0; dq3 = 0; c2 = 0; dq14 = 0; ar_len001 = 0; dq12 = 0; dq4 = 0; dq10 = 0; ar_len011 = 0; dq1 = 0; dq2 = 0; ar_len031 = 0; dq7 = 0; dq16 = 0; dq13 = 0; dq5 = 0; c1p = 0; n_2 = 0; c2p = 0; ck0 = 0; n_1 = 0; dq9 = 0; c0 = 0; ar_len021 = 0; dq6 = 0; dq11 = 0; n_0 = 0; c0p = 0; ar_len000 = 0; ck2 = 0; dq8 = 0; c1 = 0; ck1 = 0; } function SuperItem(i,d,dd,p,c,sized,ider) { this.itemno = i; this.desc = d; this.basedesc = d; this.dsub = dd; this.price = p; this.baseprice = p; this.code = c; this.tracker = new Array(); this.sz = sized; this.ider = ider; } function checkerate1(znum,zcheck,zeye,zrad,zadd,zshort,zend,zback,defset,znumon,subset,zcsstag,zmdesc) { var zbegin = (!znum || zback ? "" : ''); var plus = 0; var ckz = zcheck; var znumon2 = (!znumon || znumon == null ? '0' : znumon); var labelprice = ''; var firstlabelelm2 = ''; if (!firstlabelelm) { firstlabelelm++; firstlabelelm2 = " id='flelm1'"; } else { firstlabelelm2 = ""; } if (dq5 && dq5[znum] && dq5[znum][zeye]) { labelprice = ' - price $' + cent(dq5[znum][zeye]); } if (!znumon || znumon == 0) { if (prearray) { plus = znum; ckz = ((prearray[plus][zeye] == null || !prearray[plus][zeye]) ? '' : ' CHECKED'); } if (!zrad[zeye]) { return; } if (zshort == 0) { n1w += "" + zbegin + ""; n1w += "" + zadd + zend; } else if (zshort == 1) { n1w += "" + zbegin + ""; n1w += ""; n1w += "" + zadd + zend; } else if (zshort == 1) { n1w += "" + zbegin + ""; n1w += "" + zend; } else { n1w += "" + zend; } } else { if (!doubleprices || doubleprices == 0 || !zshort || zshort != 1) { if (zrad[zeye] != 0 && (!zpshow || zpshow == null)) { n1w += "" + cent(zrad[zeye]) + " " + zend; } else { n1w += " " + zend; } } else { if (dq13[jps-1] == 2) { dpchg = dq5[jps-1][zeye]; } else { dpchg = dq5[jps-2][zeye]; } if (zrad[zeye] != 0 && (!zpshow || zpshow == null)) { n1w += "" + cent(dpchg) + " " + zend; } else { n1w += " " + zend; } } } priceelmcount++; } function upadd(id,id2) { if (!id) { OW.document.order.qtyy.value = OW.document.order.qtyy.value; } else { OW.document.order.qtyy.value = OW.document.order.qtyy.value; } return 1; } var imgbkgr = ""; var focuselmbefore; var priceelmcount = 0; var firstlabelelm = ''; function focuselmcancel() { if (focuselmbefore) { focuselmbefore.focus(); } } function focusfirstelm() { if (OW.document.getElementById('flelm1')) { focuselm = OW.document.getElementById('flelm1'); focuselm.focus(); } } function showPizzaWin(itemno,d1,d2,price,code,qt,sz,ider) { var desc, owinqty = 1; var qwinmtch = 0; var dsub = ''; var nug = navigator.userAgent; op = ''; priceelmcount = 0; firstlabelelm = ''; ropez = 0; if (d1 >= 0 || d1 == -2) { if (d1 != -2) { desc = fds[d1][d2]; dsub = fds[d1][4]; } else { desc = d2; dsub = itemno; } } else { owinqty = items[p1n].quantity; desc = d2; //new dsub = items[p1n].dsub; // dsub = items[p1n].dsub; } n1w = ''; var here, storage, caboose, plus; if (!prearray) { p1n = 0; } var comma = '"'; if (desc.indexOf("^") >= 0) { for ( var i = 0; i < desc.length; i++ ) { if (desc.indexOf("^") >= 0) { here = desc.indexOf("^"); storage = desc.substring(0,here); here += 1; caboose = desc.substring(here,desc.length); desc = "" + storage + comma + caboose; } else { break; } } } if (desc.indexOf("`") >= 0) { for ( var i = 0; i < desc.length; i++ ) { if (desc.indexOf("`") >= 0) { here = desc.indexOf("`"); storage = desc.substring(0,here); here += 1; caboose = desc.substring(here,desc.length); desc = "" + storage + "'" + caboose; } else { break; } } } if (dsub && dsub != '') { here = 0; if (dsub.indexOf("^") >= 0) { for ( var j = 0; j < dsub.length; j++ ) { if (dsub.indexOf("^") >= 0) { here = dsub.indexOf("^"); storage = dsub.substring(0,here); here += 1; caboose = dsub.substring(here,dsub.length); dsub = "" + storage + comma + caboose; } else { break; } } } if (dsub.indexOf("`") >= 0) { for ( var j = 0; j < dsub.length; j++ ) { if (dsub.indexOf("`") >= 0) { here = dsub.indexOf("`"); storage = dsub.substring(0,here); here += 1; caboose = dsub.substring(here,dsub.length); dsub = "" + storage + "'" + caboose; } else { break; } } } } icol_a = 0; icol_b = 0; subprice = price; w1d = 0; w1h = 0; mimic = ''; needle = 0; namehasher(); offsider(); var flcrt = 0; if (full_scrn == 1 && (sz.indexOf("9") >= 0 || sz.indexOf("8") >= 0)) { flcrt = 1; } wier('a'+ider); jh = screen.availHeight; jw = screen.availWidth; if (w1h >= jh - 10 || flcrt == 1) { if (full_scrn == 0) { w1h = jh - (jh / 8.5); w1h = Math.round(w1h); } else { w1h = jh; } } if (w1d >= jw - 10) { if (full_scrn == 0) { w1d = jw - (jw / 14); w1d = Math.round(w1d); } else { w1d = jw; } } var sw = 50; if (w1d > screen.availWidth - 100) { sw = screen.availWidth - w1d - 25; if (sw < 0) { sw = 0; } } // OW = window.open("","newwin","resizable=yes,scrollbars=yes,width=" + w1d + ",height=" + w1h + ",screenX=" + sw + ",screenY=10"); oP = new SuperItem(itemno,desc,dsub,price,code,sz,ider); oP.basedesc = mr_clean(oP.basedesc); var swtchx = swtchx2 = ''; if (dq17 && dq17.length > 0) { for (var i = 0; i < dq17.length; i++) { if ((dq17[i] && dq17[i] > 0) || prearray) { swtchx += "" + i + ","; } } swtchx2 = swtchx.substring(0,swtchx.length-1); } else if (prearray) { for (var i = 0; i < dq2.length; i++) { swtchx += "" + i + ","; } swtchx2 = swtchx.substring(0,swtchx.length-1); } n1w += ''; // n1w += ""; n1w += "" + desc + ""; n1w += "\n"; n1w += "/***********************************************\n"; n1w += "* Switch Content script- (c) Dynamic Drive (www.dynamicdrive.com)\n"; n1w += "* This notice must stay intact for legal use.\n"; n1w += "* Visit http://www.dynamicdrive.com/ for full source code\n"; n1w += "***********************************************/\n"; n1w += ""; n1w += ""; n1w += ''; if (franco == 0) { n1w += '' + ""; } else { n1w += '' + ""; } n1w += "
" + zrad[zeye] + ""; if (zmdesc != null && zmdesc && zmdesc[zeye]) { n1w += zmdesc[zeye]; } n1w += "  " + zadd + zend; } else { n1w += "" + zbegin; n1w += "" + zrad[zeye] + ""; if (zmdesc != null && zmdesc && zmdesc[zeye]) { n1w += zmdesc[zeye]; } n1w += "  " + zadd + zend; } } else { if (prearray) { plus = znum; ckz = ((prearray[plus][zeye] == null || !prearray[plus][zeye]) ? '0' : prearray[plus][zeye]); } if (!ckz || ckz == null) { ckz = '0'; } if (!zrad[zeye]) { return; } if (zshort == 0) { n1w += "" + zbegin + "" + zrad[zeye] + ""; if (zmdesc != null && zmdesc && zmdesc[zeye]) { n1w += zmdesc[zeye]; } n1w += "  " + zadd + zend; } else { n1w += "" + zbegin; n1w += "" + zrad[zeye] + ""; if (zmdesc != null && zmdesc && zmdesc[zeye]) { n1w += zmdesc[zeye]; } n1w += "  " + zadd + zend; } } } var doubleprices = 0; var dpchg = 0; function radcheck1(zrad,zeye,zend,zshort,zpshow,zcsstag,jps) { if (zrad[zeye] == undefined) { return; } if (!zshort || zshort == 0) { if (zrad[zeye] != 0 && (!zpshow || zpshow == null)) { n1w += "" + cent(zrad[zeye]) + "  
"; if (callcent == 1) { if (site_wnmr == 1) { itemno = ''; } } var widecol = icol_a + 2; n1w += ""; n1w += "
" + desc + "
" + cent(price) + "
"; n1w += "
"; n1w += ""; if (dsub) { n1w += dsub; } n1w += "
"; datelist = ''; if (calmod) { n1w += ""; } n1w += ""; oP.price = subprice; jslim(sz,code); n1w += "

"; n1w += ""; var fxsb = ""; var ico1 = "/icons/monsoongrill_add.gif"; var ico2 = "/icons/minus.gif"; var ico3 = ""; var up1 = "/icons/arrow4.gif"; var up2 = "/icons/arrow2.gif"; var sxt1 = ""; var sxb1 = ""; var sxt = ""; var sxb = ""; var sxc = ""; var mstr = new Array(4,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0); var sxs = new Array(new Array("Monsoon Grill","","GF1"),new Array("Curries","","GF2"),new Array("Veggie Curries","","GF3"),new Array("Starters","","GF4"),new Array("Soups","","GF5"),new Array("Breads","","GF6"),new Array("Briyani","","GF7"),new Array("Extras","","GF8"),new Array("Dessert","","GF9"),new Array("Beverages","","GF10"),new Array("Hot Beverages","","GF11")); var hds = new Array(""); var bg = "
"; n1w += "\n"; n1w += "var swgrpe=new switchcontent('switchgroup1', 'div');\n"; n1w += "swgrpe.setStatus('\"Hide ', '\"Show ');\n"; n1w += "swgrpe.setColor('darkred', 'black');\n"; n1w += "swgrpe.collapsePrevious(false);\n"; n1w += "swgrpe.defaultExpanded(" + swtchx2 + ")\n"; n1w += "swgrpe.init();\n"; n1w += ""; n1w += ""; } var thecss = new Array(); if (parent.document.styleSheets && parent.document.styleSheets[0]) { if (parent.document.styleSheets[0].cssRules) { thecss = parent.document.styleSheets[0].cssRules; } else { thecss = parent.document.styleSheets[0].rules; } for (var i = 0; i < thecss.length; i++) { if (thecss[i].selectorText && thecss[i].selectorText.toLowerCase() == '.olcg') { thecss[i].style.cssText="background-Color:#69523F; color:#ffffff; text-align: center;"; break; } } } parent.overlib(parent.OLiframeContent('/icons/menuaol.html',450,540,'csspop',1,'auto'),parent.WIDTH,450,parent.TEXTPADDING,0,parent.BORDER,2,parent.STICKY,parent.DRAGGABLE,parent.CLOSECLICK,parent.CAPTIONPADDING,4,parent.CAPTION,desc,parent.CGCLASS,'olcg',parent.NOJUSTY,parent.NOJUSTX,parent.RELY,50,parent.MIDX,0,parent.BGCLASS,'round',parent.CLOSEFONTCLASS,'overclose',parent.CAPTIONFONTCLASS,'overclose2',CLOSETEXT,'\'Close\''); var ifrmr = parent.document.getElementById("csspop"); var ifrmdoc = ifrmr.contentDocument; if (ifrmdoc == undefined || ifrmdoc == null) { ifrmdoc = ifrmr.contentWindow.document; } ifrmdoc.open(); ifrmdoc.write(n1w); ifrmdoc.close(); OW = ifrmr.contentWindow; return; } function closer() { } function preshowPizzaWin(id) { prearray = items[id].tracker; p1n = id; updatemenuorder(1); parent.showPizzaWin(items[id].itemno,-1,items[id].basedesc,items[id].baseprice,items[id].code,1,items[id].sz,items[id].ider); } function t_c(id,bb,b0,bk0,b_h,b0p) { var plus = 0; var test; var sh = OW.document.order.elements; var elm = ''; var domlen = sh.length; oP.tracker[id] = new Array(); for (var i = 0; i < b0.length; i++) { oP.tracker[id][i] = 0; } for (var i = 0; i < domlen; i++) { elm = sh[i]; if (elm.name == bb + plus) { test = true; if (bk0) { test = false; } if (elm.type == "checkbox") { if (elm.checked == test) { if (b_h.indexOf("With:") >= 0 && !needle) { if (mimic) { mimic = ''; } op += b_h; needle = true; } else if (b_h.indexOf("With:") < 0) { if (needle) { needle = false; } if (b_h == mimic) { b_h = ''; } op += b_h; if (b_h) { mimic = b_h }; b_h = ''; } op += b0[plus] + "; "; // op += b0[plus] + "; "; if (test == true ) { oP.tracker[id][plus] = 1; } if (b0p) { oP.price += b0p[plus]; } // if (b0p) { oP.price += b0p[plus]; } } else if (bk0 && test == false ) { oP.tracker[id][plus] = 1; } plus++; if (b0.length == plus) { break; } // if (b0.length == plus) { break; } } else { if (elm.value > 0 && test == true) { if (b_h.indexOf("With:") >= 0 && !needle) { if (mimic) { mimic = ''; } op += b_h; needle = true; } else if (b_h.indexOf("With:") < 0) { if (needle) { needle = false; } if (b_h == mimic) { b_h = ''; } op += b_h; if (b_h) { mimic = b_h }; b_h = ''; } if (elm.value <= 1) { op += b0[plus] + "; "; } else { op += b0[plus] + " [" + elm.value + "]; "; } // if (elm.value <= 1) { // op += b0[plus] + "; "; // } else { // op += b0[plus] + " [" + elm.value + "]; "; // } if (test == true ) { oP.tracker[id][plus] = elm.value; } if (b0p) { oP.price += (b0p[plus] * elm.value); } //numa // if (b0p) { oP.price += (b0p[plus] * elm.value); } } else if (bk0 && test == false ) { oP.tracker[id][plus] = 1; } plus++; if (b0.length == plus) { break; } // if (b0.length == plus) { break; } } } } } function addPizzaToOrder(id) { var here, caboose, storage, tiechk, jimoff; //a op = oP.desc; if (!op) { op = oP.desc; } if (subprice != null && subprice == 0 && oP.price > 0) { oP.price = subprice; } if (c0) { t_c(0,"c0_",c0,ck0,c_h0,c0p); } if (c1) { t_c(1,"c1_",c1,ck1,c_h1,c1p); } if (c2) { t_c(2,"c2_",c2,ck2,c_h2,c2p); } for (var i = 0; i < op.length; i++ ) { if (op.indexOf(";
") >= 0) { here = op.indexOf(";
"); storage = op.substring(0,here); here += 1; caboose = op.substring(here,op.length); op = "" + storage + caboose; } else { break; } } if (op.indexOf("; ", op.length-2) >= 0) { op = op.substring(0,op.length-2); } if (!id) { winqty = OW.document.order.qtyy.value; } else { winqty = OW.document.order.qtyy.value; } additem(oP.itemno,-1,op,oP.dsub,oP.price,oP.code); parent.cClick(); } function cent(amount) { var end, subamt; amount = amount - 0; amount = Math.round(amount*100)/100; var str = amount + ""; var decimalPoint = '.'; var c; end = str.indexOf ( decimalPoint); if (end != -1) { var tmp1 = amount * 100; tmp1 = Math.round(tmp1); tmp1 = tmp1 + ""; end = tmp1.indexOf(decimalPoint); if (end != -1) { tmp1 = tmp1.substring(0,end); tmp1 = tmp1 -0; } amount = tmp1 / 100; } subamt = "" + amount; if (amount < 1) { c = subamt.charAt(0); if (c == '.') { amount = "" + '0' + amount; } } return (amount == Math.floor(amount)) ? amount + '.00' : ( (amount*10 == Math.floor(amount*10)) ? amount + '0' : amount); } function arrayplay() { var play = '', playful = ''; for (var i = 0; i < oP.tracker.length; i++) { playful += "-2,"; play = oP.tracker[i].join(); playful += play; if (i < oP.tracker.length - 1) { playful += ","; } } return playful; } franco = 1; bsite = "monsoonindiangrill"; csite = "order.monsoonindiangrill.com"; cthru = 1; newdivstyle = 1; extracthru = 1; var inhome = 0; var dynmifrm = 0; function displaymenuorder(id,pp1,id4,id5,id6,id7) { if (id4 && id4 == 1) { p1n = 0; prearray = ''; } totalcost = 0; var sh = ''; if (n1m > 0 && callcent == 1 && callcomcent2 == 1 && sitecmnt == 0) { sh = parent.document; callcomcent1 = sh.forms[0].comments.value; } var n2w = ''; if (newlook == 0 && rfrming == 0) { n2w += ''; n2w += ''; n2w += ""; } var nu2 = navigator.userAgent; n2w += ""; if ((n1m == 0 && hours == 0) || (id6 != null && id6 == 1 && hours == 0)) { // n2w += ""; n2w += ""; n2w += ""; n2w += "
"; //a //b //c //d //e n2w += "" + weaccept1 + ".
"; if (newlook == 0 && rfrming == 0) { n2w += ""; parent.document.open(); parent.document.write(n2w); parent.document.close(); } else { document.getElementById('rfrme').innerHTML = n2w; } return true; } else if ((n1m == 0 && hours == 1) || (id6 != null && id6 == 1 && hours == 1)) { // n2w += "
"; n2w += ""; n2w += ""; n2w += "
"; //a //b //c //d //e n2w += "" + weaccept1 + ".
"; if (newlook == 0 && rfrming == 0) { n2w += "
"; parent.document.open(); parent.document.write(n2w); parent.document.close(); } else { document.getElementById('rfrme').innerHTML = n2w; } return true; } n2w += ""; var dclwdth = 60, dclwdth2 = 4; var tded = ''; n2w += ""; for (var i = 1; i <= n1m; i++) { n2w += ""; n2w += ""; // n2w += ""; n2w += ""; if (items[i].basedesc == null) { n2w += ""; n2w += "\n"; } else { n2w += ""; n2w += "\n"; } n2w += ""; n2w += ""; totalcost += (cent(items[i].price) * cent(items[i].quantity)); n2w += "\n"; n2w += "\n"; n2w += "\n"; n2w += ""; } if (callcent == 1) { delchrg = 0; if (parent.dchg > 0) { delchrg = 0; var sh4 = parent.document.forms[0].elements; var sh5 = parent.document.forms[0]; var partest = 0; for (var j = 0; j < sh4.length; j++) { if (sh5.elements[j].name == 'info1') { if (sh5.elements[j].checked == true && sh5.elements[j].value == 'D') { partest = 1; } break; } } if (partest == 1) { delchrg = parent.dchg; n2w += ""; } } } n2w += ""; n2w += ""; n2w += "
Qty.No.DescriptionPrice
" + i + "." + items[i].desc + "" + items[i].desc + "" + cent( (items[i].price * items[i].quantity) ) + "
Remove
Delivery Charge:" + cent(delchrg) + "
Total Cost (w/ taxes):" + cent((totalcost * taxvar) + delchrg) + "
"; if (callcent == 1 && sitecmnt == 0) { n2w += ""; } n2w += "
"; n2w += ""; n2w += ""; n2w += ""; n2w += "
"; n2w += ""; n2w += ""; n2w += "
"; n2w += ""; n2w += ""; n2w += ""; n2w += "" + weaccept1 + ".
"; n2w += ""; if (newlook == 0 && rfrming == 0) { n2w += ""; parent.document.open(); parent.document.write(n2w); parent.document.close(); } else { n2w += ""; document.getElementById('rfrme').innerHTML = n2w; openForm(); } return true; } function chameleon(k) { var sh = parent.document; if (k) { if (sh.forms[0].omegad.value == true) { sh.forms[0].alpha.checked = false; } } else { if (sh.forms[0].alpha.value == true) { sh.forms[0].omegad.checked = false; } } return true; } function deleteitem(id) { if (id + 1 == items.length) { items.length = id; } else { for (var i=id;i<=n1m;i++) { if (i != n1m) { items[i] = ''; items[i] = items[i+1]; } else { items.length = n1m; } } } n1m--; sveord(); update(); } function update() { var n2w = ''; var nu2 = navigator.userAgent; if (newlook == 0 && rfrming == 0) { n2w += ''; n2w += ""; if (franco == 0) { if (extracthru == 0) { n2w += ''; } else { if (nu2.indexOf("MSIE") != -1 && nu2.indexOf("Opera") == -1) { n2w += ''; } else { n2w += ''; } } } else { if (cthru == 0) { n2w += ''; } else { if (nu2.indexOf("MSIE") != -1 && nu2.indexOf("Opera") == -1) { n2w += ''; } else { n2w += ''; } } } } n2w += "

"; n2w += "
Updating Your Order
"; if (newlook == 0 && rfrming == 0) { n2w += ""; parent.document.open(); parent.document.write(n2w); parent.document.close(); } else { document.getElementById('rfrme').innerHTML = n2w; } setTimeout('displaymenuorder()',500); } function clearorder(id) { n1m = 0; hours = 0; prearray = p1n = ''; items = new Array(); sveord(); displaymenuorder(); return true; } function changemenuhours() { n1m = 0; hours = 1; displaymenuorder(); return true; } function popUp(url) { sealWin=window.open(url,"win",'toolbar=0,location =0,directories=0,status=1,menubar=1,scrollbars=1,resizable=1,width=630,height=470'); self.name = "sslWin"; } var fds = new Array(new Array("1","1","","Tandoori Chicken (bone in)","Leg quartet marinated in yogurt, indian herbs and spices.","","","1a","Tandoori Chicken (bone in)","13.00","60001.031014","13.00 ","",",'534345'",",1",""),new Array("1","2","","Chicken Tikka Kebab","Boneless cubes of chicken marinated in yogurt, freshly ground spices, finished in our tandoor.","","","2a","Chicken Tikka Kebab","14.00","60002.031014","14.00 ","",",'534345'",",2",""),new Array("1","3","","Lamb Boti Kebab","Marinated with fresh herbs and spices.","","","3a","Lamb Boti Kebab","16.00","60003.031014","16.00 ","",",'534345'",",3",""),new Array("1","4","","Lamb Sheekh Kebab","Marinated with fresh herbs and spices.","","","4a","Lamb Sheekh Kebab","17.00","60004.031014","17.00 ","",",'534345'",",4",""),new Array("1","5","","Fish Tikka Kebab","Cubes of fish marinated with yogurt garlic ginger, cumin and varienty of other indian spices roasted in our tendoor (20 min extra prep).","","","5a","Fish Tikka Kebab","17.00","60005.031014","17.00 ","",",'534345'",",5",""),new Array("1","6","","Tandoori Shrimp","Prawns marinated in freshly ground spices and delicately roasted in tandoor.","","","6a","Tandoori Shrimp","18.00","60006.031014","18.00 ","",",'534345'",",6",""),new Array("1","7","","Haryali Chicken Kebab","Diced pieces of chicken marinated with mint, yogurt 7 spices","","","7a","Haryali Chicken Kebab","15.00","60080.050719","15.00 ","",",'534345'",",7",""),new Array("1","8","","Badami Tikka Kebab","Chicken marinated with yogurt, creamy cheese & almond paste","","","8a","Badami Tikka Kebab","17.00","60081.050719","17.00 ","",",'534345'",",8",""),new Array("1","9","","Mixed Grill Platter","A sizzling presentation of assorted clay oven delicacies. Tandoori chicken sheekh kebab, chicken tikka, lamb kebab and shrimp.","","","9a","Mixed Grill Platter","19.00","60007.031014","19.00 ","",",'534345'",",9",""),new Array("1","12","","Chicken Tikka Masala","Marinated boneless pieces of chicken grilled and sauteed in a deliciously creamy sauce","","","12a","Chicken Tikka Masala","14.00","60010.031014","14.00 ","",",'534345'",",10",""),new Array("1","13","","Chicken Curry","Boneless chicken simmered in tomato and onion based sauce with a blend of aromatic spices","","","13a","Chicken Curry","13.00","60011.031014","13.00 ","",",'534345'",",11",""),new Array("1","14","","Chicken Saagwala","Chicken sauteed with spices in spinach. A classic chicken dish","","","14a","Chicken Saagwala","14.00","60012.031014","14.00 ","",",'534345'",",12",""),new Array("1","15","","Shahi Chicken Korma","Succulent pieces of chicken slowly cooked with almonds in a rich and creamy sauce. A mughlai specialty","","","15a","Shahi Chicken Korma","15.00","60013.031014","15.00 ","",",'534345'",",13",""),new Array("1","16","","Butter Chicken","Tender chicken tikka pieces prepared in buttery and creamy tomato sauce","","","16a","Butter Chicken","14.00","60014.031014","14.00 ","",",'534345'",",14",""),new Array("1","17","","Lamb Curry","Sauteed with onion, herbs and spices","","","17a","Lamb Curry","16.00","60015.031014","16.00 ","",",'534345'",",15",""),new Array("1","19","","Lamb Saagwala","Choice of lamb cooked with spinach and flavored with spices","","","19a","Lamb Saagwala","16.00","60017.031014","16.00 ","",",'534345'",",16",""),new Array("1","20","","Lamb Korma","Chunk pieces of lamb cooked with cashew and creating gravy","","","20a","Lamb Korma","16.00","60082.050719","16.00 ","",",'534345'",",17",""),new Array("1","21","","Lamb Tikka Masala","Marinated boneless pieces of lamb , grilled and sauteed in delicious creamy sauce","","","21a","Lamb Tikka Masala","16.00","60083.050719","16.00 ","",",'534345'",",18",""),new Array("1","22","","Murgh khas Awadh","Stuffed chicken breast cooked with a creamy cashew & safforn gravy","","","22a","Murgh khas Awadh","17.00","60084.050719","17.00 ","",",'534345'",",19",""),new Array("1","24","","Vindaloo Lamb","Spicy lamb with indian herbs and spices","","","24a","Vindaloo Lamb","16.00","60019.031014","16.00 ","",",'534345'",",20",""),new Array("1","25","","Vindaloo Chicken","Spicy chicken with indian herbs and spices","","","25a","Vindaloo Chicken","15.00","60020.031014","15.00 ","",",'534345'",",21",""),new Array("1","26","","Prawn Saagwala","Prawns, spinach with herbs and spices","","","26a","Prawn Saagwala","17.00","60021.031014","17.00 ","",",'534345'",",22",""),new Array("1","27","","Prawn-Mango","Prawns with mango sauce and herbs","","","27a","Prawn-Mango","17.00","60022.031014","17.00 ","",",'534345'",",23",""),new Array("1","28","","Dal Makhni","A favorite dish of north india. Black lentils cooked overnight on a slow fire seasoned with herbs","","","28a","Dal Makhni","11.00","60023.031014","11.00 ","",",'534345'",",24",""),new Array("1","29","","Dal Tadka","Yellow lentils tempered with spices","","","29a","Dal Tadka","11.00","60024.031014","11.00 ","",",'534345'",",25",""),new Array("1","30","","Chana Masala","Chickpeas sauteed with onion-peppers-tomatoes and indian spices","","","30a","Chana Masala","11.00","60025.031014","11.00 ","",",'534345'",",26",""),new Array("1","31","","Aloo Gobhi","Spiced cauliflower roundels, potatoes, seasoned and sauteed in traditional north indian style","","","31a","Aloo Gobhi","12.00","60026.031014","12.00 ","",",'534345'",",27",""),new Array("1","32","","Bhindi Masala","Tender okra sauteed with onions and tomatoes: blended in herbs and spices","","","32a","Bhindi Masala","12.00","60027.031014","12.00 ","",",'534345'",",28",""),new Array("1","33","","Baingan Bhartha","Egg plant roasted in our tandoor mashed and blended with diced tomatoes and green peas in a rich mixture of fresh herbs and spices","","","33a","Baingan Bhartha","12.00","60028.031014","12.00 ","",",'534345'",",29",""),new Array("1","34","","Saag Paneer","Baby spinach with fresh home made paneer","","","34a","Saag Paneer","13.00","60029.031014","13.00 ","",",'534345'",",30",""),new Array("1","35","","Paneer Masala","Sauteed homemade cottage cheese with green peppers, tomatoes, onions and ground spices","","","35a","Paneer Masala","13.00","60030.031014","13.00 ","",",'3534345'",",31",""),new Array("1","36","","Spinach Kofta","Balls made with spinach, potatoes and paneer are deep fried and cooked and served with creamy sauce","","","36a","Spinach Kofta","14.00","60031.031014","14.00 ","",",'534345'",",32",""),new Array("1","39","","Muttar Malai Methi","Green peas cooked with cashew & creamy sauce","","","39a","Muttar Malai Methi","13.00","60085.050719","13.00 ","",",'534345'",",33",""),new Array("1","40","","Muttar Paneer","Green peas and cheese cooked with tomasto & onion gravy & served with light creamy sauce","","","40a","Muttar Paneer","13.00","60086.050719","13.00 ","",",'534345'",",34",""),new Array("0","41","","Samosa","Flaky golden pastry. Stuffed with delicately spiced potatoes and green peas.","","","41","Samosa","5.00","10034.031014","5.00 ",""),new Array("0","42","","Mixed Veggie Pakoras","Crispy light fritters made with fresh vegetables.","","","42","Mixed Veggie Pakoras","6.00","10035.031014","6.00 ",""),new Array("0","43","","Monsoon Grill Sampler (Veggie)","Fresh marinated vegetables grilled in our tandoor.","","","43","Monsoon Grill Sampler (Veggie)","8.00","10036.031014","8.00 ",""),new Array("0","44","","Non-Veg. Grill Sampler (Non-Veggie)","Marinated chicken sheekh kebob, lamb sheekh kebob and fish tikka kebob finished in our tandoor","","","44","Non-Veg. Grill Sampler (Non-Veggie)","9.00","10037.031014","9.00 ",""),new Array("0","45","","Cheese Pakora","Chickpea flour, inidean cheese and indean spices.","","","45","Cheese Pakora","8.00","10038.031014","8.00 ",""),new Array("0","46","","Amritsari Fish (Delicacy from the north)","Marinated with fresh herbs and spice and depp fried.","","","46","Amritsari Fish (Delicacy from the north)","9.00","10039.031014","9.00 ",""),new Array("0","47","","Keema Naan","Naan stuffed with minced lamb, finely chopped onion and cilantro served with chutney.","","","47","Keema Naan","5.00","10040.031014","5.00 ",""),new Array("0","48","","Chicken 65","Spicy deep fried chicken dish with ginger, cayenne pepper, mustard powder and vinegar.","","","48","Chicken 65","9.00","10041.031014","9.00 ",""),new Array("0","49","","Mirchi Bajji","Peppers stuffed masal (sesame.corriander & tamarind) deep fried in gram flour batter.","","","49","Mirchi Bajji","6.00","10042.031014","6.00 ",""),new Array("0","50","","Monsoon Peppery Chicken","Aroma of black pepper integrated with flavor of chicken and assorted indian spice.","","","50","Monsoon Peppery Chicken","7.00","10043.031014","7.00 ",""),new Array("0","51","","Chaat Papari","Crisp fried dough wafers searved with boiled chick peas, potatoes, chilli, yogurt, tamarind chutney topped with chaat masala and sev.","","","51","Chaat Papari","6.00","10044.031014","6.00 ",""),new Array("0","52","","Tikki Chaat","Potato patties prepared with indian spices.","","","52","Tikki Chaat","6.00","10045.031014","6.00 ",""),new Array("0","53","","Lahsooni Gobhi","Cauliflower mixed with chopped garlic, ginger, black pepper,salt , all purpose flour, corn starch and deep fried","","","53","Lahsooni Gobhi","7.00","10087.050719","7.00 ",""),new Array("0","54","","Chicken and Lentils","Mulligatawny soup","","","54","Chicken and Lentils","5.00","10046.031014","5.00 ",""),new Array("0","55","","Tomato Soup","Made with fresh cilantro and ginger","","","55","Tomato Soup","4.00","10047.031014","4.00 ",""),new Array("0","56","","Coconut Soup","","","","56","Coconut Soup","5.00","10048.031014","5.00 ",""),new Array("0","57","","Plain Naan","Leavened bread baked in tandoor.","","","57","Plain Naan","3.00","10049.031014","3.00 ",""),new Array("0","58","","Tandoori Roti","Whole wheat rustic bread baked in tandoor.","","","58","Tandoori Roti","3.00","10050.031014","3.00 ",""),new Array("0","59","","Garlic Naan","leavened bread with distint garlic flavor.","","","59","Garlic Naan","4.00","10051.031014","4.00 ",""),new Array("0","60","","Onion Naan","Naan stuffed with finely chopped onions.","","","60","Onion Naan","4.00","10052.031014","4.00 ",""),new Array("0","61","","Peshawari Naan","Naan stuffed with raisins.","","","61","Peshawari Naan","5.00","10053.031014","5.00 ",""),new Array("0","62","","Keema Naan Bread","Naan stuffed with minced lamb, finely chopped onion and cilantro served with chutney.","","","62","Keema Naan Bread","5.00","10054.031014","5.00 ",""),new Array("0","63","","Vegetarian Briayani","","","","63","Vegetarian Briayani","13.00","10056.031014","13.00 ",""),new Array("0","64","","Chicken Briyani","","","","64","Chicken Briyani","14.00","10057.031014","14.00 ",""),new Array("0","65","","Lamb Briyani","","","","65","Lamb Briyani","15.00","10058.031014","15.00 ",""),new Array("0","66","","Shrimp Briyani","","","","66","Shrimp Briyani","17.00","10059.031014","17.00 ",""),new Array("0","67","","Mango-Chutney","","","","67","Mango-Chutney","2.00","10060.031014","2.00 ",""),new Array("0","68","","Raita Whipped Yogurt","","","","68","Raita Whipped Yogurt","3.00","10061.031014","3.00 ",""),new Array("0","69","","Rice","","","","69","Rice","3.00","10088.050719","3.00 ",""),new Array("0","70","","Red Onion Chilli","","","","70","Red Onion Chilli","2.00","10089.050719","2.00 ",""),new Array("0","71","","Mixed Pickles","","","","71","Mixed Pickles","2.00","10090.050719","2.00 ",""),new Array("0","72","","Gulab Jamun","Milk balls in rose flavored syrup","","","72","Gulab Jamun","4.00","10062.031014","4.00 ",""),new Array("0","73","","Kheer with Peach","Rice pudding garnished with almonds (staple sweet dish of india)","","","73","Kheer with Peach","4.00","10063.031014","4.00 ",""),new Array("0","74","","Kulfi Mango","Traditional indian subcontinent ice cream","","","74","Kulfi Mango","4.00","10064.031014","4.00 ",""),new Array("0","75","","Nawabi Shahi Tukra","Tukra is a rich bread pudding with dry fruits, flavored with cardamom","","","75","Nawabi Shahi Tukra","7.00","10065.031014","7.00 ",""),new Array("0","76","","Ras Malai","very popular Indian (Bengali) Sweet prepaed paneer ( indian cottage Cheese) submerged in creamy sauce","","","76","Ras Malai","5.00","10091.050719","5.00 ",""),new Array("0","77","","Carrot Halwa","Made with grated carrots,whole milk, dried fruit &sugar","","","77","Carrot Halwa","4.00","10092.050719","4.00 ",""),new Array("0","78","","Lassi","A cool drink of churned plain yogurt sweet or salted","","","78a","Lassi - Salted","3.00","10066.031014","3.00 ","Salted","78b","Lassi - Sweet","3.00","10077.050719","3.00 ","Sweet"),new Array("0","79","","Flavored Lassi","","","","79a","Flavored Lassi - Mango","4.00","10067.031014","4.00 ","Mango","79b","Flavored Lassi - Strawberry","4.00","10078.050719","4.00 ","Strawberry"),new Array("0","80","","Juice","","","","80a","Juice - Mango","3.00","10068.031014","3.00 ","Mango","80b","Juice - Orange Juice","3.00","10079.050719","3.00 ","Orange Juice"),new Array("0","81","","Soda","","","","81a","Soda - Coke","2.00","10070.031014","2.00 ","Coke","81b","Soda - Diet Coke","2.00","10071.031014","2.00 ","Diet Coke","81c","Soda - Dr. Pepper","2.00","10072.031014","2.00 ","Dr. Pepper","81d","Soda - Sprite","2.00","10073.031014","2.00 ","Sprite"),new Array("0","82","","Masala Tea","","","","82","Masala Tea","2.00","10074.031014","2.00 ",""),new Array("0","83","","House Coffee","","","","83","House Coffee","2.00","10075.031014","2.00 ",""),new Array("0","84","","Special Bag Tea","","","","84","Special Bag Tea","3.00","10076.031014","3.00 ","")); var fxst = "




"; var nd = "
"; var spw = spw2 = spw3 = spw4 = icomod = ''; var p1 = p2 = p3 = p5 = 0; function spwfunc(id,slctqty) { if (id != Math.floor(id)) { id = Math.floor(id); } if (id == 60001) { showPizzaWin('1a.','0','8',13.00,'60001.031014',1,'534345',1); } else if (id == 60002) { showPizzaWin('2a.','1','8',14.00,'60002.031014',1,'534345',2); } else if (id == 60003) { showPizzaWin('3a.','2','8',16.00,'60003.031014',1,'534345',3); } else if (id == 60004) { showPizzaWin('4a.','3','8',17.00,'60004.031014',1,'534345',4); } else if (id == 60005) { showPizzaWin('5a.','4','8',17.00,'60005.031014',1,'534345',5); } else if (id == 60006) { showPizzaWin('6a.','5','8',18.00,'60006.031014',1,'534345',6); } else if (id == 60080) { showPizzaWin('7a.','6','8',15.00,'60080.050719',1,'534345',7); } else if (id == 60081) { showPizzaWin('8a.','7','8',17.00,'60081.050719',1,'534345',8); } else if (id == 60007) { showPizzaWin('9a.','8','8',19.00,'60007.031014',1,'534345',9); } else if (id == 60010) { showPizzaWin('12a.','9','8',14.00,'60010.031014',1,'534345',10); } else if (id == 60011) { showPizzaWin('13a.','10','8',13.00,'60011.031014',1,'534345',11); } else if (id == 60012) { showPizzaWin('14a.','11','8',14.00,'60012.031014',1,'534345',12); } else if (id == 60013) { showPizzaWin('15a.','12','8',15.00,'60013.031014',1,'534345',13); } else if (id == 60014) { showPizzaWin('16a.','13','8',14.00,'60014.031014',1,'534345',14); } else if (id == 60015) { showPizzaWin('17a.','14','8',16.00,'60015.031014',1,'534345',15); } else if (id == 60017) { showPizzaWin('19a.','15','8',16.00,'60017.031014',1,'534345',16); } else if (id == 60082) { showPizzaWin('20a.','16','8',16.00,'60082.050719',1,'534345',17); } else if (id == 60083) { showPizzaWin('21a.','17','8',16.00,'60083.050719',1,'534345',18); } else if (id == 60084) { showPizzaWin('22a.','18','8',17.00,'60084.050719',1,'534345',19); } else if (id == 60019) { showPizzaWin('24a.','19','8',16.00,'60019.031014',1,'534345',20); } else if (id == 60020) { showPizzaWin('25a.','20','8',15.00,'60020.031014',1,'534345',21); } else if (id == 60021) { showPizzaWin('26a.','21','8',17.00,'60021.031014',1,'534345',22); } else if (id == 60022) { showPizzaWin('27a.','22','8',17.00,'60022.031014',1,'534345',23); } else if (id == 60023) { showPizzaWin('28a.','23','8',11.00,'60023.031014',1,'534345',24); } else if (id == 60024) { showPizzaWin('29a.','24','8',11.00,'60024.031014',1,'534345',25); } else if (id == 60025) { showPizzaWin('30a.','25','8',11.00,'60025.031014',1,'534345',26); } else if (id == 60026) { showPizzaWin('31a.','26','8',12.00,'60026.031014',1,'534345',27); } else if (id == 60027) { showPizzaWin('32a.','27','8',12.00,'60027.031014',1,'534345',28); } else if (id == 60028) { showPizzaWin('33a.','28','8',12.00,'60028.031014',1,'534345',29); } else if (id == 60029) { showPizzaWin('34a.','29','8',13.00,'60029.031014',1,'534345',30); } else if (id == 60030) { showPizzaWin('35a.','30','8',13.00,'60030.031014',1,'3534345',31); } else if (id == 60031) { showPizzaWin('36a.','31','8',14.00,'60031.031014',1,'534345',32); } else if (id == 60085) { showPizzaWin('39a.','32','8',13.00,'60085.050719',1,'534345',33); } else if (id == 60086) { showPizzaWin('40a.','33','8',13.00,'60086.050719',1,'534345',34); } else if (id == 10034) { additem('41.','34','8','',5.00,'10034.031014',slctqty); } else if (id == 10035) { additem('42.','35','8','',6.00,'10035.031014',slctqty); } else if (id == 10036) { additem('43.','36','8','',8.00,'10036.031014',slctqty); } else if (id == 10037) { additem('44.','37','8','',9.00,'10037.031014',slctqty); } else if (id == 10038) { additem('45.','38','8','',8.00,'10038.031014',slctqty); } else if (id == 10039) { additem('46.','39','8','',9.00,'10039.031014',slctqty); } else if (id == 10040) { additem('47.','40','8','',5.00,'10040.031014',slctqty); } else if (id == 10041) { additem('48.','41','8','',9.00,'10041.031014',slctqty); } else if (id == 10042) { additem('49.','42','8','',6.00,'10042.031014',slctqty); } else if (id == 10043) { additem('50.','43','8','',7.00,'10043.031014',slctqty); } else if (id == 10044) { additem('51.','44','8','',6.00,'10044.031014',slctqty); } else if (id == 10045) { additem('52.','45','8','',6.00,'10045.031014',slctqty); } else if (id == 10087) { additem('53.','46','8','',7.00,'10087.050719',slctqty); } else if (id == 10046) { additem('54.','47','8','',5.00,'10046.031014',slctqty); } else if (id == 10047) { additem('55.','48','8','',4.00,'10047.031014',slctqty); } else if (id == 10048) { additem('56.','49','8','',5.00,'10048.031014',slctqty); } else if (id == 10049) { additem('57.','50','8','',3.00,'10049.031014',slctqty); } else if (id == 10050) { additem('58.','51','8','',3.00,'10050.031014',slctqty); } else if (id == 10051) { additem('59.','52','8','',4.00,'10051.031014',slctqty); } else if (id == 10052) { additem('60.','53','8','',4.00,'10052.031014',slctqty); } else if (id == 10053) { additem('61.','54','8','',5.00,'10053.031014',slctqty); } else if (id == 10054) { additem('62.','55','8','',5.00,'10054.031014',slctqty); } else if (id == 10056) { additem('63.','56','8','',13.00,'10056.031014',slctqty); } else if (id == 10057) { additem('64.','57','8','',14.00,'10057.031014',slctqty); } else if (id == 10058) { additem('65.','58','8','',15.00,'10058.031014',slctqty); } else if (id == 10059) { additem('66.','59','8','',17.00,'10059.031014',slctqty); } else if (id == 10060) { additem('67.','60','8','',2.00,'10060.031014',slctqty); } else if (id == 10061) { additem('68.','61','8','',3.00,'10061.031014',slctqty); } else if (id == 10088) { additem('69.','62','8','',3.00,'10088.050719',slctqty); } else if (id == 10089) { additem('70.','63','8','',2.00,'10089.050719',slctqty); } else if (id == 10090) { additem('71.','64','8','',2.00,'10090.050719',slctqty); } else if (id == 10062) { additem('72.','65','8','',4.00,'10062.031014',slctqty); } else if (id == 10063) { additem('73.','66','8','',4.00,'10063.031014',slctqty); } else if (id == 10064) { additem('74.','67','8','',4.00,'10064.031014',slctqty); } else if (id == 10065) { additem('75.','68','8','',7.00,'10065.031014',slctqty); } else if (id == 10091) { additem('76.','69','8','',5.00,'10091.050719',slctqty); } else if (id == 10092) { additem('77.','70','8','',4.00,'10092.050719',slctqty); } else if (id == 10066) { additem('78a.','71','8','',3.00,'10066.031014',slctqty); } else if (id == 10077) { additem('78b.','71','14','',3.00,'10077.050719',slctqty); } else if (id == 10067) { additem('79a.','72','8','',4.00,'10067.031014',slctqty); } else if (id == 10078) { additem('79b.','72','14','',4.00,'10078.050719',slctqty); } else if (id == 10068) { additem('80a.','73','8','',3.00,'10068.031014',slctqty); } else if (id == 10079) { additem('80b.','73','14','',3.00,'10079.050719',slctqty); } else if (id == 10070) { additem('81a.','74','8','',2.00,'10070.031014',slctqty); } else if (id == 10071) { additem('81b.','74','14','',2.00,'10071.031014',slctqty); } else if (id == 10072) { additem('81c.','74','20','',2.00,'10072.031014',slctqty); } else if (id == 10073) { additem('81d.','74','26','',2.00,'10073.031014',slctqty); } else if (id == 10074) { additem('82.','75','8','',2.00,'10074.031014',slctqty); } else if (id == 10075) { additem('83.','76','8','',2.00,'10075.031014',slctqty); } else if (id == 10076) { additem('84.','77','8','',3.00,'10076.031014',slctqty); } } function spwfuncq(id,slctqty) { if (id != Math.floor(id)) { id = Math.floor(id); } } var chgsub2 = ""; function chgprices(id,id2,id3,id4) { var chgprice = "", chgitm = "", chgdsc = "", chgsub = ""; chgsub2 = ""; if (id == 60001) { if (!id2 && !id3 && !id4) { chgprice = "" + 13.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Tandoori Chicken (bone in)"; } else if (id3) { chgdsc = "" + "Leg quartet marinated in yogurt, indian herbs and spices."; } } else if (id == 60002) { if (!id2 && !id3 && !id4) { chgprice = "" + 14.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Chicken Tikka Kebab"; } else if (id3) { chgdsc = "" + "Boneless cubes of chicken marinated in yogurt, freshly ground spices, finished in our tandoor."; } } else if (id == 60003) { if (!id2 && !id3 && !id4) { chgprice = "" + 16.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Lamb Boti Kebab"; } else if (id3) { chgdsc = "" + "Marinated with fresh herbs and spices."; } } else if (id == 60004) { if (!id2 && !id3 && !id4) { chgprice = "" + 17.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Lamb Sheekh Kebab"; } else if (id3) { chgdsc = "" + "Marinated with fresh herbs and spices."; } } else if (id == 60005) { if (!id2 && !id3 && !id4) { chgprice = "" + 17.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Fish Tikka Kebab"; } else if (id3) { chgdsc = "" + "Cubes of fish marinated with yogurt garlic ginger, cumin and varienty of other indian spices roasted in our tendoor (20 min extra prep)."; } } else if (id == 60006) { if (!id2 && !id3 && !id4) { chgprice = "" + 18.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Tandoori Shrimp"; } else if (id3) { chgdsc = "" + "Prawns marinated in freshly ground spices and delicately roasted in tandoor."; } } else if (id == 60080) { if (!id2 && !id3 && !id4) { chgprice = "" + 15.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Haryali Chicken Kebab"; } else if (id3) { chgdsc = "" + "Diced pieces of chicken marinated with mint, yogurt 7 spices"; } } else if (id == 60081) { if (!id2 && !id3 && !id4) { chgprice = "" + 17.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Badami Tikka Kebab"; } else if (id3) { chgdsc = "" + "Chicken marinated with yogurt, creamy cheese & almond paste"; } } else if (id == 60007) { if (!id2 && !id3 && !id4) { chgprice = "" + 19.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Mixed Grill Platter"; } else if (id3) { chgdsc = "" + "A sizzling presentation of assorted clay oven delicacies. Tandoori chicken sheekh kebab, chicken tikka, lamb kebab and shrimp."; } } else if (id == 60010) { if (!id2 && !id3 && !id4) { chgprice = "" + 14.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Chicken Tikka Masala"; } else if (id3) { chgdsc = "" + "Marinated boneless pieces of chicken grilled and sauteed in a deliciously creamy sauce"; } } else if (id == 60011) { if (!id2 && !id3 && !id4) { chgprice = "" + 13.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Chicken Curry"; } else if (id3) { chgdsc = "" + "Boneless chicken simmered in tomato and onion based sauce with a blend of aromatic spices"; } } else if (id == 60012) { if (!id2 && !id3 && !id4) { chgprice = "" + 14.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Chicken Saagwala"; } else if (id3) { chgdsc = "" + "Chicken sauteed with spices in spinach. A classic chicken dish"; } } else if (id == 60013) { if (!id2 && !id3 && !id4) { chgprice = "" + 15.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Shahi Chicken Korma"; } else if (id3) { chgdsc = "" + "Succulent pieces of chicken slowly cooked with almonds in a rich and creamy sauce. A mughlai specialty"; } } else if (id == 60014) { if (!id2 && !id3 && !id4) { chgprice = "" + 14.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Butter Chicken"; } else if (id3) { chgdsc = "" + "Tender chicken tikka pieces prepared in buttery and creamy tomato sauce"; } } else if (id == 60015) { if (!id2 && !id3 && !id4) { chgprice = "" + 16.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Lamb Curry"; } else if (id3) { chgdsc = "" + "Sauteed with onion, herbs and spices"; } } else if (id == 60017) { if (!id2 && !id3 && !id4) { chgprice = "" + 16.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Lamb Saagwala"; } else if (id3) { chgdsc = "" + "Choice of lamb cooked with spinach and flavored with spices"; } } else if (id == 60082) { if (!id2 && !id3 && !id4) { chgprice = "" + 16.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Lamb Korma"; } else if (id3) { chgdsc = "" + "Chunk pieces of lamb cooked with cashew and creating gravy"; } } else if (id == 60083) { if (!id2 && !id3 && !id4) { chgprice = "" + 16.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Lamb Tikka Masala"; } else if (id3) { chgdsc = "" + "Marinated boneless pieces of lamb , grilled and sauteed in delicious creamy sauce"; } } else if (id == 60084) { if (!id2 && !id3 && !id4) { chgprice = "" + 17.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Murgh khas Awadh"; } else if (id3) { chgdsc = "" + "Stuffed chicken breast cooked with a creamy cashew & safforn gravy"; } } else if (id == 60019) { if (!id2 && !id3 && !id4) { chgprice = "" + 16.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Vindaloo Lamb"; } else if (id3) { chgdsc = "" + "Spicy lamb with indian herbs and spices"; } } else if (id == 60020) { if (!id2 && !id3 && !id4) { chgprice = "" + 15.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Vindaloo Chicken"; } else if (id3) { chgdsc = "" + "Spicy chicken with indian herbs and spices"; } } else if (id == 60021) { if (!id2 && !id3 && !id4) { chgprice = "" + 17.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Prawn Saagwala"; } else if (id3) { chgdsc = "" + "Prawns, spinach with herbs and spices"; } } else if (id == 60022) { if (!id2 && !id3 && !id4) { chgprice = "" + 17.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Prawn-Mango"; } else if (id3) { chgdsc = "" + "Prawns with mango sauce and herbs"; } } else if (id == 60023) { if (!id2 && !id3 && !id4) { chgprice = "" + 11.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Dal Makhni"; } else if (id3) { chgdsc = "" + "A favorite dish of north india. Black lentils cooked overnight on a slow fire seasoned with herbs"; } } else if (id == 60024) { if (!id2 && !id3 && !id4) { chgprice = "" + 11.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Dal Tadka"; } else if (id3) { chgdsc = "" + "Yellow lentils tempered with spices"; } } else if (id == 60025) { if (!id2 && !id3 && !id4) { chgprice = "" + 11.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Chana Masala"; } else if (id3) { chgdsc = "" + "Chickpeas sauteed with onion-peppers-tomatoes and indian spices"; } } else if (id == 60026) { if (!id2 && !id3 && !id4) { chgprice = "" + 12.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Aloo Gobhi"; } else if (id3) { chgdsc = "" + "Spiced cauliflower roundels, potatoes, seasoned and sauteed in traditional north indian style"; } } else if (id == 60027) { if (!id2 && !id3 && !id4) { chgprice = "" + 12.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Bhindi Masala"; } else if (id3) { chgdsc = "" + "Tender okra sauteed with onions and tomatoes: blended in herbs and spices"; } } else if (id == 60028) { if (!id2 && !id3 && !id4) { chgprice = "" + 12.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Baingan Bhartha"; } else if (id3) { chgdsc = "" + "Egg plant roasted in our tandoor mashed and blended with diced tomatoes and green peas in a rich mixture of fresh herbs and spices"; } } else if (id == 60029) { if (!id2 && !id3 && !id4) { chgprice = "" + 13.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Saag Paneer"; } else if (id3) { chgdsc = "" + "Baby spinach with fresh home made paneer"; } } else if (id == 60030) { if (!id2 && !id3 && !id4) { chgprice = "" + 13.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Paneer Masala"; } else if (id3) { chgdsc = "" + "Sauteed homemade cottage cheese with green peppers, tomatoes, onions and ground spices"; } } else if (id == 60031) { if (!id2 && !id3 && !id4) { chgprice = "" + 14.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Spinach Kofta"; } else if (id3) { chgdsc = "" + "Balls made with spinach, potatoes and paneer are deep fried and cooked and served with creamy sauce"; } } else if (id == 60085) { if (!id2 && !id3 && !id4) { chgprice = "" + 13.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Muttar Malai Methi"; } else if (id3) { chgdsc = "" + "Green peas cooked with cashew & creamy sauce"; } } else if (id == 60086) { if (!id2 && !id3 && !id4) { chgprice = "" + 13.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Muttar Paneer"; } else if (id3) { chgdsc = "" + "Green peas and cheese cooked with tomasto & onion gravy & served with light creamy sauce"; } } else if (id == 10034) { if (!id2 && !id3 && !id4) { chgprice = "" + 5.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Samosa"; } else if (id3) { chgdsc = "" + "Flaky golden pastry. Stuffed with delicately spiced potatoes and green peas."; } } else if (id == 10035) { if (!id2 && !id3 && !id4) { chgprice = "" + 6.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Mixed Veggie Pakoras"; } else if (id3) { chgdsc = "" + "Crispy light fritters made with fresh vegetables."; } } else if (id == 10036) { if (!id2 && !id3 && !id4) { chgprice = "" + 8.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Monsoon Grill Sampler (Veggie)"; } else if (id3) { chgdsc = "" + "Fresh marinated vegetables grilled in our tandoor."; } } else if (id == 10037) { if (!id2 && !id3 && !id4) { chgprice = "" + 9.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Non-Veg. Grill Sampler (Non-Veggie)"; } else if (id3) { chgdsc = "" + "Marinated chicken sheekh kebob, lamb sheekh kebob and fish tikka kebob finished in our tandoor"; } } else if (id == 10038) { if (!id2 && !id3 && !id4) { chgprice = "" + 8.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Cheese Pakora"; } else if (id3) { chgdsc = "" + "Chickpea flour, inidean cheese and indean spices."; } } else if (id == 10039) { if (!id2 && !id3 && !id4) { chgprice = "" + 9.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Amritsari Fish (Delicacy from the north)"; } else if (id3) { chgdsc = "" + "Marinated with fresh herbs and spice and depp fried."; } } else if (id == 10040) { if (!id2 && !id3 && !id4) { chgprice = "" + 5.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Keema Naan"; } else if (id3) { chgdsc = "" + "Naan stuffed with minced lamb, finely chopped onion and cilantro served with chutney."; } } else if (id == 10041) { if (!id2 && !id3 && !id4) { chgprice = "" + 9.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Chicken 65"; } else if (id3) { chgdsc = "" + "Spicy deep fried chicken dish with ginger, cayenne pepper, mustard powder and vinegar."; } } else if (id == 10042) { if (!id2 && !id3 && !id4) { chgprice = "" + 6.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Mirchi Bajji"; } else if (id3) { chgdsc = "" + "Peppers stuffed masal (sesame.corriander & tamarind) deep fried in gram flour batter."; } } else if (id == 10043) { if (!id2 && !id3 && !id4) { chgprice = "" + 7.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Monsoon Peppery Chicken"; } else if (id3) { chgdsc = "" + "Aroma of black pepper integrated with flavor of chicken and assorted indian spice."; } } else if (id == 10044) { if (!id2 && !id3 && !id4) { chgprice = "" + 6.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Chaat Papari"; } else if (id3) { chgdsc = "" + "Crisp fried dough wafers searved with boiled chick peas, potatoes, chilli, yogurt, tamarind chutney topped with chaat masala and sev."; } } else if (id == 10045) { if (!id2 && !id3 && !id4) { chgprice = "" + 6.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Tikki Chaat"; } else if (id3) { chgdsc = "" + "Potato patties prepared with indian spices."; } } else if (id == 10087) { if (!id2 && !id3 && !id4) { chgprice = "" + 7.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Lahsooni Gobhi"; } else if (id3) { chgdsc = "" + "Cauliflower mixed with chopped garlic, ginger, black pepper,salt , all purpose flour, corn starch and deep fried"; } } else if (id == 10046) { if (!id2 && !id3 && !id4) { chgprice = "" + 5.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Chicken and Lentils"; } else if (id3) { chgdsc = "" + "Mulligatawny soup"; } } else if (id == 10047) { if (!id2 && !id3 && !id4) { chgprice = "" + 4.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Tomato Soup"; } else if (id3) { chgdsc = "" + "Made with fresh cilantro and ginger"; } } else if (id == 10048) { if (!id2 && !id3 && !id4) { chgprice = "" + 5.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Coconut Soup"; } else if (id3) { } } else if (id == 10049) { if (!id2 && !id3 && !id4) { chgprice = "" + 3.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Plain Naan"; } else if (id3) { chgdsc = "" + "Leavened bread baked in tandoor."; } } else if (id == 10050) { if (!id2 && !id3 && !id4) { chgprice = "" + 3.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Tandoori Roti"; } else if (id3) { chgdsc = "" + "Whole wheat rustic bread baked in tandoor."; } } else if (id == 10051) { if (!id2 && !id3 && !id4) { chgprice = "" + 4.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Garlic Naan"; } else if (id3) { chgdsc = "" + "leavened bread with distint garlic flavor."; } } else if (id == 10052) { if (!id2 && !id3 && !id4) { chgprice = "" + 4.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Onion Naan"; } else if (id3) { chgdsc = "" + "Naan stuffed with finely chopped onions."; } } else if (id == 10053) { if (!id2 && !id3 && !id4) { chgprice = "" + 5.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Peshawari Naan"; } else if (id3) { chgdsc = "" + "Naan stuffed with raisins."; } } else if (id == 10054) { if (!id2 && !id3 && !id4) { chgprice = "" + 5.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Keema Naan Bread"; } else if (id3) { chgdsc = "" + "Naan stuffed with minced lamb, finely chopped onion and cilantro served with chutney."; } } else if (id == 10056) { if (!id2 && !id3 && !id4) { chgprice = "" + 13.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Vegetarian Briayani"; } else if (id3) { } } else if (id == 10057) { if (!id2 && !id3 && !id4) { chgprice = "" + 14.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Chicken Briyani"; } else if (id3) { } } else if (id == 10058) { if (!id2 && !id3 && !id4) { chgprice = "" + 15.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Lamb Briyani"; } else if (id3) { } } else if (id == 10059) { if (!id2 && !id3 && !id4) { chgprice = "" + 17.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Shrimp Briyani"; } else if (id3) { } } else if (id == 10060) { if (!id2 && !id3 && !id4) { chgprice = "" + 2.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Mango-Chutney"; } else if (id3) { } } else if (id == 10061) { if (!id2 && !id3 && !id4) { chgprice = "" + 3.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Raita Whipped Yogurt"; } else if (id3) { } } else if (id == 10088) { if (!id2 && !id3 && !id4) { chgprice = "" + 3.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Rice"; } else if (id3) { } } else if (id == 10089) { if (!id2 && !id3 && !id4) { chgprice = "" + 2.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Red Onion Chilli"; } else if (id3) { } } else if (id == 10090) { if (!id2 && !id3 && !id4) { chgprice = "" + 2.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Mixed Pickles"; } else if (id3) { } } else if (id == 10062) { if (!id2 && !id3 && !id4) { chgprice = "" + 4.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Gulab Jamun"; } else if (id3) { chgdsc = "" + "Milk balls in rose flavored syrup"; } } else if (id == 10063) { if (!id2 && !id3 && !id4) { chgprice = "" + 4.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Kheer with Peach"; } else if (id3) { chgdsc = "" + "Rice pudding garnished with almonds (staple sweet dish of india)"; } } else if (id == 10064) { if (!id2 && !id3 && !id4) { chgprice = "" + 4.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Kulfi Mango"; } else if (id3) { chgdsc = "" + "Traditional indian subcontinent ice cream"; } } else if (id == 10065) { if (!id2 && !id3 && !id4) { chgprice = "" + 7.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Nawabi Shahi Tukra"; } else if (id3) { chgdsc = "" + "Tukra is a rich bread pudding with dry fruits, flavored with cardamom"; } } else if (id == 10091) { if (!id2 && !id3 && !id4) { chgprice = "" + 5.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Ras Malai"; } else if (id3) { chgdsc = "" + "very popular Indian (Bengali) Sweet prepaed paneer ( indian cottage Cheese) submerged in creamy sauce"; } } else if (id == 10092) { if (!id2 && !id3 && !id4) { chgprice = "" + 4.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Carrot Halwa"; } else if (id3) { chgdsc = "" + "Made with grated carrots,whole milk, dried fruit &sugar"; } } else if (id == 10066) { if (!id2 && !id3 && !id4) { chgprice = "" + 3.00; } else if (id4) { chgsub = "" + "Salted"; chgsub2 = 1; } else if (id2) { chgitm = "" + "Lassi"; } else if (id3) { chgdsc = "" + "A cool drink of churned plain yogurt sweet or salted"; } } else if (id == 10077) { if (!id2 && !id3 && !id4) { chgprice = "" + 3.00; } else if (id4) { chgsub = "" + "Sweet"; chgsub2 = 1; } else if (id2) { chgitm = "" + "Lassi"; } else if (id3) { chgdsc = "" + "A cool drink of churned plain yogurt sweet or salted"; } } else if (id == 10067) { if (!id2 && !id3 && !id4) { chgprice = "" + 4.00; } else if (id4) { chgsub = "" + "Mango"; chgsub2 = 1; } else if (id2) { chgitm = "" + "Flavored Lassi"; } else if (id3) { } } else if (id == 10078) { if (!id2 && !id3 && !id4) { chgprice = "" + 4.00; } else if (id4) { chgsub = "" + "Strawberry"; chgsub2 = 1; } else if (id2) { chgitm = "" + "Flavored Lassi"; } else if (id3) { } } else if (id == 10068) { if (!id2 && !id3 && !id4) { chgprice = "" + 3.00; } else if (id4) { chgsub = "" + "Mango"; chgsub2 = 1; } else if (id2) { chgitm = "" + "Juice"; } else if (id3) { } } else if (id == 10079) { if (!id2 && !id3 && !id4) { chgprice = "" + 3.00; } else if (id4) { chgsub = "" + "Orange Juice"; chgsub2 = 1; } else if (id2) { chgitm = "" + "Juice"; } else if (id3) { } } else if (id == 10070) { if (!id2 && !id3 && !id4) { chgprice = "" + 2.00; } else if (id4) { chgsub = "" + "Coke"; chgsub2 = 1; } else if (id2) { chgitm = "" + "Soda"; } else if (id3) { } } else if (id == 10071) { if (!id2 && !id3 && !id4) { chgprice = "" + 2.00; } else if (id4) { chgsub = "" + "Diet Coke"; chgsub2 = 1; } else if (id2) { chgitm = "" + "Soda"; } else if (id3) { } } else if (id == 10072) { if (!id2 && !id3 && !id4) { chgprice = "" + 2.00; } else if (id4) { chgsub = "" + "Dr. Pepper"; chgsub2 = 1; } else if (id2) { chgitm = "" + "Soda"; } else if (id3) { } } else if (id == 10073) { if (!id2 && !id3 && !id4) { chgprice = "" + 2.00; } else if (id4) { chgsub = "" + "Sprite"; chgsub2 = 1; } else if (id2) { chgitm = "" + "Soda"; } else if (id3) { } } else if (id == 10074) { if (!id2 && !id3 && !id4) { chgprice = "" + 2.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Masala Tea"; } else if (id3) { } } else if (id == 10075) { if (!id2 && !id3 && !id4) { chgprice = "" + 2.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "House Coffee"; } else if (id3) { } } else if (id == 10076) { if (!id2 && !id3 && !id4) { chgprice = "" + 3.00; } else if (id4) { chgsub = "" + ""; chgsub2 = 1; } else if (id2) { chgitm = "" + "Special Bag Tea"; } else if (id3) { } } if (chgprice) { chgprice = cent(chgprice); return chgprice; } else if (chgitm) { return chgitm; } else if (chgdsc) { return chgdsc; } else if (chgsub) { return chgsub; } } function chgfrmprices(id2) { var subprce = '', subprce2 = '', newprice = '', getvar = ''; var nuq = navigator.userAgent; var ifrmed2 = ''; if (nuq.indexOf("MSIE 9") == -1 && nuq.indexOf("MSIE 1") == -1) { ifrmed2 = parent.document.getElementsByTagName("span"), i = ifrmed2.length; } else { ifrmed2 = parent.document.querySelectorAll("span"), i = ifrmed2.length; } var anext = i; while(i--) { if (ifrmed2[i].id && ifrmed2[i].id.indexOf('i_') != -1) { subprce = ifrmed2[i].id; subprce2 = subprce.substr(2); newprice = chgprices(subprce2); if (!newprice || newprice == undefined || newprice == null) { newprice = ''; } getvar = ifrmed2[i].id; parent.document.getElementById(getvar).innerHTML = newprice; } } if (id2) { i = anext; while(i--) { if (ifrmed2[i].id) { if (ifrmed2[i].id.indexOf('a_') != -1) { subitm = ifrmed2[i].id; subitm2 = subitm.substr(2); newprice = chgprices(subitm2,1); if (!newprice || newprice == undefined || newprice == null) { newprice = ''; } getvar = ifrmed2[i].id; parent.document.getElementById(getvar).innerHTML = newprice; } else if (ifrmed2[i].id.indexOf('b_') != -1) { subitm = ifrmed2[i].id; subitm2 = subitm.substr(2); newprice = chgprices(subitm2,'',1); if (!newprice || newprice == undefined || newprice == null) { newprice = ''; } getvar = ifrmed2[i].id; parent.document.getElementById(getvar).innerHTML = newprice; } else if (ifrmed2[i].id.indexOf('c_') != -1) { subitm = ifrmed2[i].id; subitm2 = subitm.substr(2); newprice = chgprices(subitm2,'','',1); if (!newprice || newprice == undefined || newprice == null) { newprice = ''; } getvar = ifrmed2[i].id; parent.document.getElementById(getvar).innerHTML = newprice; } else if (ifrmed2[i].id.indexOf('j_') != -1) { subitm = ifrmed2[i].id; subitm2 = subitm.substr(2); newprice = chgprices(subitm2,'','',1); // if (!newprice || newprice == undefined || newprice == null) { if (!chgsub2) { getvar = ifrmed2[i].id; parent.document.getElementById(getvar).innerHTML = ''; } } } } } } p1 = p2 = p3 = p5 = 0; // if (id == null) { id = 0; } // if (id == 0) { var pj1 = -1, pj2 = 1, sctn = 0; var sectitlsw = divsecst = 0, subyfx = priceyfx = loopend0 = loopend1 = loopend2 = ''; for (var i = 0; i < mstr.length; i++) { if (mstr[i] == 0) { if (fds[p1][0] == 0 || fds[p1][0] == 1) { if (fds[p1][4] == undefined || fds[p1][4] == null) { fds[p1][4] = ''; } if (fds[p1][0] == 0) { for (var j = 7; j < fds[p1].length; j++) { p5 = j+1; if (fds[p1][j+5]) { subyfx = " - " + fds[p1][j+5]; } else { subyfx = ''; } n3w += ("
  • " + fds[p1][3] + " " + subyfx + "
    " + fds[p1][j+2] + "
    " + fds[p1][4] + "
  • "); if (fds[p1].length == j + 5 + 1) { break; }; j += 5; } } else { for (var j = 7; j < fds[p1].length; j++) { p5 = j+1; if (fds[p1][j+5]) { subyfx = " - " + fds[p1][j+5]; } else { subyfx = ''; } n3w += ("
  • " + fds[p1][3] + " " + subyfx + "
    " + fds[p1][j+2] + "
    " + fds[p1][4] + "
  • "); if (fds[p1].length == j + 8 + 1) { break; }; j += 8; } } } p1++; pj2++; } else if (mstr[i] < 4) { if (i != 0) { n3w += (""); } if (mstr[i] == 1) { n3w += ("
    " + sxs[p2][0] + "
    " + sxs[p2][1] + "
      "); } p2++; } else { p3++; } } n3w += (nd); n3w += (""); function morph(id,id2,id3,id4,id5) { document.getElementById('lfrme').innerHTML = n3w; } function csspull() { n6w = (".calDataTitle { color:#000000 !important; } .calThisMonth { color:#000000 !important; } .olcg { height:25px; vertical-align:top;} .gentext { font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: normal; line-height: 16px; color: #353330; } .gentitle { font-family: 'Open Sans', Arial, Helvetica, sans-serif; font-size: 13px; font-weight: 400; /*font-weight: bold;*/ line-height: 16px; color: #353330; } .topn { font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; line-height: 16px; color: #000000; } .topn2 { font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold; line-height: 16px; color: #ffffff; } .topn3 { font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: normal; line-height: 16px; color: #ffffff; } .topn4 { font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: normal; line-height: 16px; color: #ffffff; } .topn5 { font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: normal; line-height: 16px; color: #ffffff; } .trhover:hover { background-color:#d6bd8f; color:ffffff; } .csstime { color:#353330; } .cssrest { color:#353330; font-size:14px; } .ocssrest { color:#353330; } .cssresta { color:#353330; font-size:14px; } .cssrestb { color:#353330; } .cssrestc { color:#353330; } .qcsstime { font-size:14px; font-family:Arial, Helvetica, sans-serif; color:#353330; font-weight: normal; } .qcssrest { font-size:14px; font-family:Arial, Helvetica, sans-serif; color:#353330; font-weight: bold; } .qcssresta { font-size:14px; font-family:Arial, Helvetica, sans-serif; color:#353330; font-weight: bold; } .qcssrestb { font-size:14px; font-family:Arial, Helvetica, sans-serif; color:#353330; } .qcssrestc { font-size:14px; font-family:Arial, Helvetica, sans-serif; color:#353330; font-weight: bold; } body { padding:0px; margin:0px; } #csspop{ border:1px solid #761061; } .round { -moz-border-radius: 10px; -webkit-border-radius: 10px; -khmtl-border-radius: 10px; border-radius: 20px; background-color: #69523f; color: #ffffff; font-size:16px; font-weight:bold; height:610px; border:2px solid #fff; border-collapse: unset !important; } table#overCap td:first-child { width: 90% !important; } #hrid { color:#000000; } .overclose { height:2px; color: #c9252c; position:relative; left:-5px; top:5px; } .overclose:hover { height:2px; color: #c9252c; position:relative; left:-5px; top:5px; } .overclose2 { color: #c9252c; font-size:0px; height:0px; line-height:2px; } .poptitle { font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-weight: bold; line-height: 16px; color: #000; vertical-align:bottom; } .popmine { width: 100%; border-bottom: 1px dotted black; margin-bottom:12px; } .popmine2 { width: 100%; border-top: 1px dotted black; height:15px; } .popmine3 { width: 100%; border-top: 1px dotted black; height:10px; } .popmine4 { width: 100%; border-top: 1px dotted black; height:10px; } .csstrnom { padding-bottom:15px; } .pricetext { font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; line-height: 14px; color: #000; vertical-align:bottom; } .poptext { font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; line-height: 14px; color: #000; padding-bottom:10px; padding-top:10px; padding-right:2px; } .poptext2 { font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; line-height: 14px; color: #752735; padding-bottom:10px; padding-top:10px; } form { padding-left:10px; padding-right:10px; } .cssnomspan { font-family: Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; line-height: 13px; color: #a10308; vertical-align:bottom; } #qaddbtn { font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #ffffff; border:1px solid #69523f; background:#69523f; -moz-border-radius: 4px; -webkit-border-radius: 4px; -khmtl-border-radius: 4px; border-radius: 3px; margin:0px; padding:0px; height:17px; width:40px; cursor:pointer; } .headcss { vertical-align:top; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold; color:#000; line-height:16px; padding:0px; margin:0px; } .radchks { margin-right:15px; vertical-align:middle; } .cssnomenbox { -moz-border-radius: 8px; -webkit-border-radius: 8px; -khmtl-border-radius: 8px; border-radius: 8px; padding:3px; border:solid 1px black; height:10px; font-size:10px; background-color:#e7e7e8; width:200px; } .cssineobox { -moz-border-radius: 8px; -webkit-border-radius: 8px; -khmtl-border-radius: 8px; border-radius: 8px; padding:3px; border:solid 1px black; height:40px; font-size:10px; background-color:#e7e7e8; width:200px; } .csscancelbox { color:#000; text-decoration:none; font-family: Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; line-height: 13px; } .cssclearbox { color:#000; text-decoration:none; font-family: Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; line-height: 13px; } span { font-size:14px; } .taxnone{ display:none; } label[class='forclass'] { border: 0; clip: rect(0 0 0 0); overflow: hidden; height: 1px; margin: -1px; padding: 0; position:absolute; width: 1px; }.txtbxr { font-size: 12px; width: 20px; border-spacing:0px; margin:0px; margin-right:10px; padding:0px; vertical-align:middle; line-height: 12px; } #rfrme { position:relative; width: 315px; z-index:1; float: left; text-align: left; margin:0px 0px 0px 0px; padding:0px 0px 10px 5px; }"); var styleelm = document.createElement('style'); styleelm.type = 'text/css'; if (styleelm.styleSheet) { styleelm.styleSheet.cssText = n6w; } else { styleelm.appendChild(document.createTextNode(n6w)); } document.getElementsByTagName("head")[0].appendChild(styleelm); }