
function setCookie(name, value, expires, path, domain, secure) {
  var curCookie = name + "=" + escape(value) +
      ((expires) ? "; expires=" + expires.toGMTString() : "") +
      ((path) ? "; path=" + path : "") +
      ((domain) ? "; domain=" + domain : "") +
      ((secure) ? "; secure" : "");
  document.cookie = curCookie;
}


function fixDate(date) {
  var base = new Date(0);
  var skew = base.getTime();
  if (skew > 0)
    date.setTime(date.getTime() - skew);
}

function parseQueryString(queryString){
  var result = {};
  if (queryString == undefined){
    queryString = location.search ? location.search : '';
  }
  if (queryString.charAt(0) == '?') queryString = queryString.substring(1);
  queryString = queryString.replace('+', ' ');
  var queryComponents = queryString.split(/[&;]/g);
  for (var i = 0; i < queryComponents.length; i++){
    var keyValuePair = queryComponents[i].split('=');
    var key = decodeURIComponent(keyValuePair[0]);
    var value = decodeURIComponent(keyValuePair[1]);
    if (!result[key]) result[key] = [];
    result[key].push((keyValuePair.length == 1) ? '' : value);
  }
  return result;
}

var thisurl=location.hostname +"?tracking4=hopscotch";
var hostname=location.hostname;
var shop = new Array(216);
var shopid="";
shop[0]="www.bigskyquilts.com?tracking4=hopscotch";
shop[1]="www.thefabricstoreonline.com?tracking4=hopscotch";
shop[2]="www.wickedstitchfabrics.com?tracking4=hopscotch";
shop[3]="www.helpinghandsquilts.com?tracking4=hopscotch";
shop[4]="www.iowastarquilts.com?tracking4=hopscotch";
shop[5]="www.simplethreads.net?tracking4=hopscotch";
shop[6]="www.summerscountryquilts.com?tracking4=hopscotch";
shop[7]="www.elkhornquilts.com?tracking4=hopscotch";
shop[8]="www.batikcorneratfabriccorner.com?tracking4=hopscotch";
shop[9]="www.karensquiltshop.com?tracking4=hopscotch";
shop[10]="www.quiltinpigeon.com?tracking4=hopscotch";
shop[11]="www.schoolhousecottons.com?tracking4=hopscotch";
shop[12]="www.tennesseequilts.com?tracking4=hopscotch";
shop[13]="www.lotsofabric.com?tracking4=hopscotch";
shop[14]="www.honeyrunquilters.net?tracking4=hopscotch";
shop[15]="www.sanfordsewing.com?tracking4=hopscotch";
shop[16]="www.originalcreationsquiltshop.com?tracking4=hopscotch";
shop[17]="www.fortworthfabricstudio.com?tracking4=hopscotch";
shop[18]="www.lavenderlimeinspires.com?tracking4=hopscotch";
shop[19]="www.quiltersdelights.com?tracking4=hopscotch";
shop[20]="www.villagemercantile.com?tracking4=hopscotch";
shop[21]="www.cottonpatchoregon.com?tracking4=hopscotch";
shop[22]="www.kudzuquiltshop.com?tracking4=hopscotch";
shop[23]="www.quilterstash.com?tracking4=hopscotch";
shop[24]="www.fabricshack.com?tracking4=hopscotch";
shop[25]="www.cottonpatchquiltshop.com?tracking4=hopscotch";
shop[26]="www.countrydawnquilting.com?tracking4=hopscotch";
shop[27]="www.auntruthsquiltshop.com?tracking4=hopscotch";
shop[28]="www.sharynns.com?tracking4=hopscotch";
shop[29]="www.lisasstitches.com?tracking4=hopscotch";
shop[30]="www.alvasewingcenter.com?tracking4=hopscotch";
shop[31]="www.tranquilityquilts.com?tracking4=hopscotch";
shop[32]="www.quiltsnmore.net?tracking4=hopscotch";
shop[33]="www.crafttownfabrics.net?tracking4=hopscotch";
shop[34]="www.loosethreadsquiltshop.com?tracking4=hopscotch";
shop[35]="www.justcurves.biz?tracking4=hopscotch";
shop[36]="www.victoriavistaquilts.com?tracking4=hopscotch";
shop[37]="www.keamasquilts.com?tracking4=hopscotch";
shop[38]="www.alleyfabrics.com?tracking4=hopscotch";
shop[39]="www.pigpatchfarm.com?tracking4=hopscotch";
shop[40]="www.quiltingdelights.com?tracking4=hopscotch";
shop[41]="www.bearpawquilting.com?tracking4=hopscotch";
shop[42]="www.wishuponaquilt.com?tracking4=hopscotch";
shop[43]="www.specialstitches.com?tracking4=hopscotch";
shop[44]="www.villagecomforts.com?tracking4=hopscotch";
shop[45]="www.lapp-elisa.com?tracking4=hopscotch";
shop[46]="www.oddsnendsfabric.com?tracking4=hopscotch";
shop[47]="www.thequiltedbean.com?tracking4=hopscotch";
shop[48]="www.grammysquiltshop.com?tracking4=hopscotch";
shop[49]="www.fiberonawhim.com?tracking4=hopscotch";
shop[50]="www.highsierraquilters.com?tracking4=hopscotch";
shop[51]="www.strawberry-patches.com?tracking4=hopscotch";
shop[52]="www.rockcityquilts.com?tracking4=hopscotch";
shop[53]="www.fabricexpressions.com?tracking4=hopscotch";
shop[54]="www.mcquiltandgift.com?tracking4=hopscotch";
shop[55]="www.materialpleasure.com?tracking4=hopscotch";
shop[56]="www.batiktambal.com?tracking4=hopscotch";
shop[57]="www.crazyforquilting.com?tracking4=hopscotch";
shop[58]="www.quiltedmagik.com?tracking4=hopscotch";
shop[59]="www.cottoncapersquiltshop.com?tracking4=hopscotch";
shop[60]="www.tatteredrabbit.com?tracking4=hopscotch";
shop[61]="www.kindredquilts.com?tracking4=hopscotch";
shop[62]="www.materialmart.com?tracking4=hopscotch";
shop[63]="www.jonali.net?tracking4=hopscotch";
shop[64]="www.sewmanythingsonline.com?tracking4=hopscotch";
shop[65]="www.quiltersquarters.net?tracking4=hopscotch";
shop[66]="www.shopriversedge.com?tracking4=hopscotch";
shop[67]="www.contemporarycloth.com?tracking4=hopscotch";
shop[68]="www.mainstreetquiltingco.com?tracking4=hopscotch";
shop[69]="www.highprairiequilts.com?tracking4=hopscotch";
shop[70]="www.quiltersdream.com?tracking4=hopscotch";
shop[71]="www.buttonholeshop.com?tracking4=hopscotch";
shop[72]="www.quilt-this.com?tracking4=hopscotch";
shop[73]="www.hearttohandonline.com?tracking4=hopscotch";
shop[74]="www.greystonewood.com?tracking4=hopscotch";
shop[75]="www.ficklepicklefabrics.com?tracking4=hopscotch";
shop[76]="www.mycotton.biz?tracking4=hopscotch";
shop[77]="www.beavercreekquiltcompany.com?tracking4=hopscotch";
shop[78]="www.cindysquiltshop.com?tracking4=hopscotch";
shop[79]="www.quiltexpressions.com?tracking4=hopscotch";
shop[80]="www.quilted-banty.com?tracking4=hopscotch";
shop[81]="www.centennialquilts.com?tracking4=hopscotch";
shop[82]="www.quiltime.com?tracking4=hopscotch";
shop[83]="www.amethystquilts.net?tracking4=hopscotch";
shop[84]="www.quiltingbeeaz.com?tracking4=hopscotch";
shop[85]="www.thefabricshoppe.com?tracking4=hopscotch";
shop[86]="www.seamslikehome.com?tracking4=hopscotch";
shop[87]="www.jlquilts.com?tracking4=hopscotch";
shop[88]="www.onthefarmquilting.com?tracking4=hopscotch";
shop[89]="www.fastthreadsonline.com?tracking4=hopscotch";
shop[90]="www.contemporaryquilter.com?tracking4=hopscotch";
shop[91]="www.calicocorneronline.com?tracking4=hopscotch";
shop[92]="www.thequiltedquail.com?tracking4=hopscotch";
shop[93]="www.sharedthreads.com?tracking4=hopscotch";
shop[94]="www.mountainviewquiltshoppe.com?tracking4=hopscotch";
shop[95]="www.sevendaughtersquilting.com?tracking4=hopscotch";
shop[96]="www.webfabrics.net?tracking4=hopscotch";
shop[97]="www.quiltingatthecherrypit.com?tracking4=hopscotch";
shop[98]="www.pinefreckleforest.com?tracking4=hopscotch";
shop[99]="www.huckleberryfabrics.com?tracking4=hopscotch";
shop[100]="www.threadbarepatterns.com?tracking4=hopscotch";
shop[101]="www.lilliesquiltingloft.com?tracking4=hopscotch";
shop[102]="www.fabricbuffet.com?tracking4=hopscotch";
shop[103]="www.emptyspoolonline.com?tracking4=hopscotch";
shop[104]="www.patchworkplaceonline.com?tracking4=hopscotch";
shop[105]="www.thimblesandthread.com?tracking4=hopscotch";
shop[106]="www.quiltingbytheyard.com?tracking4=hopscotch";
shop[107]="www.materialgirlquilting.com?tracking4=hopscotch";
shop[108]="www.quiltersranch.com?tracking4=hopscotch";
shop[109]="www.blackberrypatchquiltshop.com?tracking4=hopscotch";
shop[110]="www.5materialgirlsquilting.com?tracking4=hopscotch";
shop[111]="www.plushcatdesigns.com?tracking4=hopscotch";
shop[112]="www.peddlersway.com?tracking4=hopscotch";
shop[113]="www.scquiltworks.com?tracking4=hopscotch";
shop[114]="www.quiltedvine.com?tracking4=hopscotch";
shop[115]="www.desertrosequiltshop.com?tracking4=hopscotch";
shop[116]="www.modernmarks.com?tracking4=hopscotch";
shop[117]="www.alwaysquiltingonline.com?tracking4=hopscotch";
shop[118]="www.honeyforkfabrics.com?tracking4=hopscotch";
shop[119]="www.quilted-cottage.com?tracking4=hopscotch";
shop[120]="www.quiltfabric.com?tracking4=hopscotch";
shop[121]="www.cottonpatchfabrics.com?tracking4=hopscotch";
shop[122]="www.rossvillequilts.com?tracking4=hopscotch";
shop[123]="www.quiltshoppe.net?tracking4=hopscotch";
shop[124]="www.heritagequiltshop.com?tracking4=hopscotch";
shop[125]="www.bnpquilts.com?tracking4=hopscotch";
shop[126]="www.annsfabricsandcrafts.com?tracking4=hopscotch";
shop[127]="www.quiltdesignerfabrics.com?tracking4=hopscotch";
shop[128]="www.snowyriverquilts.com?tracking4=hopscotch";
shop[129]="www.cottonclub.com?tracking4=hopscotch";
shop[130]="www.andsewitgoes.net?tracking4=hopscotch";
shop[131]="www.fabrickrazy.com?tracking4=hopscotch";
shop[132]="www.lovethosecolorsquilting.com?tracking4=hopscotch";
shop[133]="www.simplysouthernquilts.com?tracking4=hopscotch";
shop[134]="www.whittlesfabrics.com?tracking4=hopscotch";
shop[135]="www.thebestkeptsecret.com?tracking4=hopscotch";
shop[136]="www.flightsoffancyboutique.com?tracking4=hopscotch";
shop[137]="www.backdoorquiltshoppe.com?tracking4=hopscotch";
shop[138]="www.fabricsandmoreetc.com?tracking4=hopscotch";
shop[139]="www.stitch-n-frame.net?tracking4=hopscotch";
shop[140]="www.batiks.com?tracking4=hopscotch";
shop[141]="www.dennyshouse.com?tracking4=hopscotch";
shop[142]="www.thimbles2fit.com?tracking4=hopscotch";
shop[143]="www.dssewingcenters.com?tracking4=hopscotch";
shop[144]="www.fabricsoftheworld.com?tracking4=hopscotch";
shop[145]="www.quiltsonroute66.com?tracking4=hopscotch";
shop[146]="www.etquilts.com?tracking4=hopscotch";
shop[147]="www.sewandquiltshop.com?tracking4=hopscotch";
shop[148]="www.whichwayquilting.com?tracking4=hopscotch";
shop[149]="www.stitchingpostquilts.com?tracking4=hopscotch";
shop[150]="www.quiltcrossing.com?tracking4=hopscotch";
shop[151]="www.overrainbow.com?tracking4=hopscotch";
shop[152]="www.hollyhillquiltshoppe.com?tracking4=hopscotch";
shop[153]="www.pocketfulofposeysquilting.com?tracking4=hopscotch";
shop[154]="www.patchworkpenguin.com?tracking4=hopscotch";
shop[155]="www.this-n-thatfabrics.com?tracking4=hopscotch";
shop[156]="www.ltquilts.com?tracking4=hopscotch";
shop[157]="www.sewitis.com?tracking4=hopscotch";
shop[158]="www.aquiltersparadise.com?tracking4=hopscotch";
shop[159]="www.hiddencountryquilts.com?tracking4=hopscotch";
shop[160]="www.bryerpatch.com?tracking4=hopscotch";
shop[161]="www.upandawayquilts.com?tracking4=hopscotch";
shop[162]="www.themerryquilter.com?tracking4=hopscotch";
shop[163]="www.quiltshopmorganhill.com?tracking4=hopscotch";
shop[164]="www.quiltersroundup.com?tracking4=hopscotch";
shop[165]="www.clothandquilts.com?tracking4=hopscotch";
shop[166]="www.rentedmulequilts.com?tracking4=hopscotch";
shop[167]="www.stitchitquilts.com?tracking4=hopscotch";
shop[168]="www.judysfabricstash.com?tracking4=hopscotch";
shop[169]="www.quiltersstudio.com?tracking4=hopscotch";
shop[170]="www.thequiltery.org?tracking4=hopscotch";
shop[171]="www.smalltownequilts.com?tracking4=hopscotch";
shop[172]="www.skydyes.com?tracking4=hopscotch";
shop[173]="www.sewrepro.com?tracking4=hopscotch";
shop[174]="www.southwestquilts.com?tracking4=hopscotch";
shop[175]="www.somewheresewing.com?tracking4=hopscotch";
shop[176]="www.harborviewquilts.com?tracking4=hopscotch";
shop[177]="www.heritagequiltshoppe.com?tracking4=hopscotch";
shop[178]="www.quiltersparadiseonline.com?tracking4=hopscotch";
shop[179]="www.morningstarquilters.com?tracking4=hopscotch";
shop[180]="www.marthasquiltingcorner.com?tracking4=hopscotch";
shop[181]="www.thedoormouse.com?tracking4=hopscotch";
shop[182]="www.mybluebamboo.com?tracking4=hopscotch";
shop[183]="www.thequiltedcabin.com?tracking4=hopscotch";
shop[184]="www.quiltshops.com?tracking4=hopscotch";
shop[185]="www.shopvintageandvogue.com?tracking4=hopscotch";
shop[186]="www.shastaquilts.com?tracking4=hopscotch";
shop[187]="www.sew-elegant.com?tracking4=hopscotch";
shop[188]="www.quilters-paradise.com?tracking4=hopscotch";
shop[189]="www.fatquartercreations.com?tracking4=hopscotch";
shop[190]="www.penningtonquilts.com?tracking4=hopscotch";
shop[191]="www.havasuquilts.com?tracking4=hopscotch";
shop[192]="www.cottonboutique.com?tracking4=hopscotch";
shop[193]="www.wolfpointeembroidery.com?tracking4=hopscotch";
shop[194]="www.alittlefabricstore.com?tracking4=hopscotch";
shop[195]="www.patchworkgardenquiltshop.com?tracking4=hopscotch";
shop[196]="www.quiltnbee.biz?tracking4=hopscotch";
shop[197]="www.bighornquilts.com?tracking4=hopscotch";
shop[198]="www.fromheretoquilternity.com?tracking4=hopscotch";
shop[199]="www.quiltingniche.com?tracking4=hopscotch";
shop[200]="www.hcquilts.com?tracking4=hopscotch";
shop[201]="www.dakotacabinquilts.com?tracking4=hopscotch";
shop[202]="www.thespiderswebfabricshop.com?tracking4=hopscotch";
shop[203]="www.quilterscornergj.com?tracking4=hopscotch";
shop[204]="www.quiltpatchlane.com?tracking4=hopscotch";
shop[205]="www.thequiltpeddler.com?tracking4=hopscotch";
shop[206]="www.pinwheels.com?tracking4=hopscotch";
shop[207]="www.todaysquilting.com?tracking4=hopscotch";
shop[208]="www.whistlestopquiltshop.com?tracking4=hopscotch";
shop[209]="www.quiltersquarter.com?tracking4=hopscotch";
shop[210]="www.quiltvillecreations.com?tracking4=hopscotch";
shop[211]="www.thelittleshopforquilting.com?tracking4=hopscotch";
shop[212]="www.desperatequilters.com?tracking4=hopscotch";
shop[213]="www.countrycreations.net?tracking4=hopscotch";
shop[214]="www.alwaysopenquiltshop.com?tracking4=hopscotch";
shop[215]="www.ltlquilts.com?tracking4=hopscotch";

var maxnum=216;
var lasturl= shop[maxnum-1];
var nexturl=shop[0];
var year=2009;
var month=11;
for (var x=0;x<maxnum;x++)
    {
    if (thisurl == shop[x])
        {
        if (x>0) {lasturl = shop[x-1]};
        if (x==0) {lasturl = shop[maxnum-1]};
        if (x<maxnum-2) {nexturl = shop[x+1]};
        if (x>=maxnum-1) {nexturl = shop[0]};
        }
    }
document.write("<IMG name=\"shopdrop\" SRC=\"/server-images/shopdrop.gif\" WIDTH=\"126\" HEIGHT=\"193\" BORDER=\"0\" ALT=\"Shop til you drop\" usemap=\"#shopdrop\">");
document.write("<map name=\"shopdrop\">");
document.write("<area shape=\"poly\" coords=\"86,174,126,174,126,193,86,193,86,174\" href=\"http://search.myquiltshops.com/cgi-server/quiltshops/nph-myqssearch.cgi?stashaction=newsearch\" title=\"Search\" alt=\"Search\" target=\"_top\">");
document.write("<area shape=\"poly\" coords=\"46,173,77,173,77,193,46,193,46,173\" href=\"http://www.quiltshops.com/cgi-server/quiltshops/prizes.cgi?month=");document.write(month + "&year=" + year + "\" title=\"Prizes\" alt=\"Prizes\" >");
document.write("<area shape=\"poly\" coords=\"0,175,38,175,38,193,0,193,0,175\" href=\"http://www.quiltshops.com/shoptilyoudrop/rules.htm\" title=\"Rules\" alt=\"Rules\" target=\"_top\">");
document.write("<area shape=\"rect\" coords=\"176,154,92,193\" href=\"http://www.quiltshops.com/cgi-server/quiltshops/shops.cgi\" title=\"List of Shops\" alt=\"List of Shops\" target=\"_top\">");
document.write("<area shape=\"rect\" coords=\"96,154,126,174\" href=\"http://www.quiltshops.com/index.html\" title=\"Quiltshops.com Home Page\" alt=\"Quiltshops.com Home Page\" target=\"_top\">");
document.write("<area shape=\"rect\" coords=\"0,0,126,146\" href=\"http://www.quiltshops.com/index.html\" title=\"Quiltshops.com Home Page\" alt=\"Quiltshops.com Home Page\" target=\"_top\">");
document.write("<area shape=\"rect\" coords=\"41,154,92,174\" href=\"http://" + lasturl + "\" title=\"Previous Shop\" alt=\"Previous Shop\" target=\"_top\">");
document.write("<area shape=\"poly\" coords=\"0,157,39,157,39,174,0,174,0,157\" href=\"http://" + nexturl + "\" title=\"Next Shop\" alt=\"Next Shop\" target=\"_top\"></map>");

var now = new Date();
fixDate(now);
now.setTime(now.getTime() + 24 * 60 * 60 * 1000);

var queryData = parseQueryString();
for (var key in queryData){
setCookie(key, queryData[key], now,"/");   
}
