/*
TIPSTER v3.1 RC (c) 2001-2006 Angus Turnbull, http://www.twinhelix.com
*/

var isDOM=document.getElementById?1:0,isIE=document.all?1:0,isNS4=navigator.appName=='Netscape'&&!isDOM?1:0,isOp=self.opera?1:0,isDyn=isDOM||isIE||isNS4;function getRef(i,p){p=!p?document:p.navigator?p.document:p;return isIE?p.all[i]:isDOM?(p.getElementById?p:p.ownerDocument).getElementById(i):isNS4?p.layers[i]:null};function getSty(i,p){var r=getRef(i,p);return r?isNS4?r:r.style:null};if(!self.LayerObj)var LayerObj=new Function('i','p','this.ref=getRef(i,p);this.sty=getSty(i,p);return this');function getLyr(i,p){return new LayerObj(i,p)};function LyrFn(n,f){LayerObj.prototype[n]=new Function('var a=arguments,p=a[0],px=isNS4||isOp?0:"px";with(this){'+f+'}')};LyrFn('x','if(!isNaN(p))sty.left=p+px;else return parseInt(sty.left)');LyrFn('y','if(!isNaN(p))sty.top=p+px;else return parseInt(sty.top)');LyrFn('w','if(p)(isNS4?sty.clip:sty).width=p+px;else return(isNS4?ref.document.width:ref.offsetWidth)');LyrFn('h','if(p)(isNS4?sty.clip:sty).height=p+px;else return(isNS4?ref.document.height:ref.offsetHeight)');LyrFn('vis','sty.visibility=p');LyrFn('write','if(isNS4)with(ref.document){write(p);close()}else ref.innerHTML=p');LyrFn('alpha','var f=ref.filters,d=(p==null),o=d?"inherit":p/100;if(f){if(!d&&sty.filter.indexOf("alpha")==-1)sty.filter+=" alpha(opacity="+p+")";else if(f.length&&f.alpha)with(f.alpha){if(d)enabled=false;else{opacity=p;enabled=true}}}else if(isDOM)sty.opacity=sty.MozOpacity=o');if(!self.page)var page={win:self,minW:0,minH:0,MS:isIE&&!isOp};page.db=function(p){with(this.win.document)return(isDOM?documentElement[p]:0)||body[p]||0};page.winW=function(){with(this)return Math.max(minW,MS?db('clientWidth'):win.innerWidth)};page.winH=function(){with(this)return Math.max(minH,MS?db('clientHeight'):win.innerHeight)};page.scrollX=function(){with(this)return MS?db('scrollLeft'):win.pageXOffset};page.scrollY=function(){with(this)return MS?db('scrollTop'):win.pageYOffset};function TipObj(myName){this.myName=myName;this.template='';this.tips=new Array();this.parentObj=null;this.div=null;this.actTip='';this.showTip=false;this.xPos=this.yPos=this.sX=this.sY=this.mX=this.mY=0;this.trackTimer=this.fadeTimer=0;this.alpha=0;this.doFades=true;this.minAlpha=0;this.maxAlpha=100;this.fadeInSpeed=20;this.fadeOutSpeed=20;this.tipStick=1;this.showDelay=50;this.hideDelay=250;this.IESelectBoxFix=0;TipObj.list[myName]=this};TipObj.list={};var ToPt=TipObj.prototype;ToPt.track=function(evt){with(this){if(!isIE||document.body){evt=evt||window.event;sX=page.scrollX();sY=page.scrollY();mX=evt.pageX||sX+evt.clientX||0;mY=evt.pageY||sY+evt.clientY||0;if(tipStick==1)position()}}};ToPt.position=function(forcePos){with(this){if(!actTip)return;var wW=page.winW(),wH=page.winH();if(!isIE||isOp){wW-=16;wH-=16}var t=tips[actTip],tipX=eval(t[0]),tipY=eval(t[1]),tipW=div.w(),tipH=div.h(),adjY=1;if(typeof(t[0])=='number')tipX+=mX;if(typeof(t[1])=='number')tipY+=mY;if(tipX+tipW+5>sX+wW)tipX=sX+wW-tipW-5;if(tipY+tipH+5>sY+wH)tipY=sY+wH-tipH-5;if(tipX<sX+5)tipX=sX+5;if(tipY<sY+5)tipY=sY+5;if((!showTip&&(doFades?!alpha:true))||forcePos){xPos=tipX;yPos=tipY}xPos+=(tipX-xPos)*tipStick;yPos+=(tipY-yPos)*tipStick;div.x(xPos);div.y(yPos);return}};ToPt.replaceContent=function(tipN){with(this){actTip=tipN;if(tipStick==parseInt(tipStick)){var rE='';if(isNS4){div.ref.captureEvents(Event.MOUSEOVER|Event.MOUSEOUT);rE=';return this.routeEvent(evt)'}div.ref.onmouseover=new Function('evt',myName+'.show("'+tipN+'"'+(parentObj?','+parentObj.myName:'')+')'+rE);div.ref.onmouseout=new Function('evt',myName+'.hide()'+rE)}var str=template;for(var i=0;i<tips[tipN].length;i++)str=str.replace(new RegExp('%'+i+'%','g'),tips[tipN][i]);if(window.createPopup&&IESelectBoxFix){var filt='filter:progid:DXImageTransform.Microsoft.Alpha(opacity=';str+='<iframe src="about:blank" style="position:absolute;left:0px;top:0px;height:expression('+myName+'.div.h());z-index:1;border:none;'+filt+'0)"></iframe><div style="position:absolute;left:0px;top:0px;z-index:2;'+filt+'100)">'+str+'</div>'}if(isDOM&&!isOp)div.sty.width='auto';div.write(str+(isIE&&!isOp&&!window.external?'<small><br/></small>':''));position(true)}};ToPt.show=function(tipN,par){with(this){if(!isDyn)return;clearTimeout(fadeTimer);parentObj=par;if(par)par.show(par.actTip,par.parentObj);if(!div)div=getLyr(myName+'Layer');if(!div)return;clearInterval(trackTimer);if(tipStick!=parseInt(tipStick))trackTimer=setInterval(myName+'.position()',50);var showStr='with('+myName+'){showTip=true;'+(actTip!=tipN?'replaceContent("'+tipN+'");':'')+'fade()}';if(showDelay&&!actTip)fadeTimer=setTimeout(showStr,showDelay);else eval(showStr)}};ToPt.newTip=function(tName){with(this){if(!tips[tName])tips[tName]=[];for(var i=1;i<arguments.length;i++)tips[tName][i-1]=arguments[i];show(tName);return}};ToPt.hide=function(){with(this){clearTimeout(fadeTimer);if(!isDyn||!actTip||!div)return;if(isNS4&&tipStick==0&&xPos<=mX&&mX<=xPos+div.w()&&yPos<=mY&&mY<=yPos+div.h())return;with(tips[actTip])if(parentObj)parentObj.hide();fadeTimer=setTimeout('with('+myName+'){showTip=false;fade()}',hideDelay);return}};ToPt.fade=function(){with(this){clearTimeout(fadeTimer);if(showTip){div.vis('visible');if(doFades){alpha+=fadeInSpeed;if(alpha>maxAlpha)alpha=maxAlpha;div.alpha(alpha);if(alpha<maxAlpha)fadeTimer=setTimeout(myName+'.fade()',75)}}else{if(doFades&&alpha>minAlpha){alpha-=fadeOutSpeed;if(alpha<minAlpha)alpha=minAlpha;div.alpha(alpha);fadeTimer=setTimeout(myName+'.fade()',75);return}div.vis('hidden');actTip='';clearInterval(trackTimer)}}};var tipOR=window.onresize,nsWinW=window.innerWidth,nsWinH=window.innerHeight;document.tipMM=document.onmousemove;if(isNS4)document.captureEvents(Event.MOUSEMOVE);document.onmousemove=function(evt){for(var t in TipObj.list)TipObj.list[t].track(evt);return document.tipMM?document.tipMM(evt):(isNS4?document.routeEvent(evt):true)};window.onresize=function(){if(tipOR)tipOR();if(isNS4&&(nsWinW!=innerWidth||nsWinH!=innerHeight))location.reload()};

var docTips = new TipObj('docTips'); with (docTips) {
template = '<table border="0" cellpadding="4" cellspacing="0" bgcolor="#ffffff" class="itemBorderL"><tr><td width="%2%">%3%</td></tr></table>\n';

tips.cwwreathquilts = new Array(33, -170, 7, '<img src="../images/ColorwashWreath_Quilts.jpg" border="0">');
tips.cwwreathquilts2 = new Array(-377, -170, 7, '<img src="../images/ColorwashWreath_Quilts.jpg" border="0">');

tips.cwwreathpat = new Array(-177, -90, 7, '<img src="../images/hwpat_colorwreath.jpg" border="0">');
tips.cwwreathsq = new Array(-457, -90, 7, '<img src="../images/ColorwashWreath_Squares.jpg" border="0">');

tips.cwirishchainquilt = new Array(33, -170, 7, '<img src="../images/ColorwashIrishChain_Quilt.jpg" border="0">');
tips.cwirishchainquiltL = new Array(-377, -170, 7, '<img src="../images/ColorwashIrishChain_Quilt.jpg" border="0">');
tips.cwirishchainquiltLP = new Array(-177, -90, 7, '<img src="../images/hwpat_irishchain.jpg" border="0">');

tips.cwstarL = new Array(33, -170, 7, '<img src="../images/ColorwashStar_Quilts.jpg" border="0">');
tips.cwstarLR = new Array(-377, -170, 7, '<img src="../images/ColorwashStar_Quilts.jpg" border="0">');
tips.cwstarLP = new Array(-177, -90, 7, '<img src="../images/hwpat_starforallseasons.jpg" border="0">');

tips.cajacobL = new Array(33, -170, 7, '<img src="../images/capat_jacob_lg.jpg" border="0">');
tips.cajacobR = new Array(-257, -170, 7, '<img src="../images/capat_jacob_lg.jpg" border="0">');

tips.caheartL = new Array(33, -170, 7, '<img src="../images/capat_cwheart_lg.jpg" border="0">');
tips.caheartR = new Array(-257, -170, 7, '<img src="../images/capat_cwheart_lg.jpg" border="0">');

tips.caloveL = new Array(33, -170, 7, '<img src="../images/capat_lovelinks_lg.jpg" border="0">');
tips.caloveR = new Array(-257, -170, 7, '<img src="../images/capat_lovelinks_lg.jpg" border="0">');

tips.cababiesL = new Array(33, -170, 7, '<img src="../images/capat_babies_lg.jpg" border="0">');
tips.cababiesR = new Array(-257, -170, 7, '<img src="../images/capat_babies_lg.jpg" border="0">');
tips.cababiesFR = new Array(-357, -170, 7, '<img src="../images/capat_babies_fabric.jpg" border="0">');

tips.confetti = new Array(-100, -160, 200, '<span class="SmallBld">Crayon Confetti:</span><br>The simple block construction really makes great use of novelty prints... so easy to make for that special baby. Use bold primaries, soft prints or any combination... remember your coloring book and have fun creating &quot;Crayon Confetti.&quot;<br>Finished Size: 38.5&quot;x47.5&quot;');
tips.duck = new Array(-100, -120, 200, '<span class="SmallBld">Duck...Duck...Goose:</span><br>This fabulous block has many interpretations. Copy the layout diagram and use colored pencils or snippets of fabric to plan your color placement.<br>Finished Size: 55&quot;x55&quot;');
tips.petals = new Array(-100, -183, 200, '<span class="SmallBld">Pickles &amp; Petals:</span><br>This is a &quot;show-stopping&quot; wall quilt. This traditional Pickle Dish design is constructed using paper foundation piecing to give precise points to the arcs. The pretty garland of roses is an original border, complementing the floral theme. This popular quilt was shown on HGTV/Simply Quilts program.<br>Finished Size: 47&quot;x47&quot;');
tips.hearts = new Array(-100, -173, 200, '<span class="SmallBld">Hearts Delight:</span><br>Two blocks, a Heart and an Hourglass, create this Colorwash pattern. Easy construction using the strip-piecing technique leads to an incredibly detailed look. Instructions are included for two wall hangings, and twin-, queen-, and king-size quilts. By turning the blocks, you can create your own design ...to your &quot;Hearts Delight.&quot;');
tips.boxes = new Array(-100, -129, 200, '<span class="SmallBld">Flower Boxes:</span><br>Learn how to create a Colorwash tumbling block using the strip-piecing method. Become confident in sewing Y-seams. Let your creativity blossom as you arrange your &quot;Flower Boxes.&quot;<br>Finished Size: 59.5&quot;x55&quot;');
tips.vest = new Array(-100, -170, 200, '<span class="SmallBld">Pullover Vest:</span><br>How about recycling some of your fabric stash into a garment? Cut yards of fabric into one long &quot;string&quot; or learn how to join bits and pieces together. Fabric offers unusual effects as knitted offering mystery and delight to the final piece. Have fun experimenting on the scarf include in the pattern.<br>Finished Sizes: S,M,L,XL');
tips.cardigan = new Array(-100, -129, 200, '<span class="SmallBld">Cardigan:</span><br>Here is another great way to recycle fabric. Pattern gives instructions on preparing fabric for knitting, a scarf pattern and complete instruction for this wonderfully warm cardigan.<br>Finished Sizes: S,M.L,XL');
tips.cwfan = new Array(-100, -145, 200, '<span class="SmallBld">Colorwash Nancy\'s Fan:</span><br>From one pattern you can create drama by using a dark Colorwash in the background with red as the fan or indulge in your favorite color scheme and create your own stylish, strip-pieced fan wall hanging.<br>Finished Size: 40&quot;x40.5&quot;');
tips.sept = new Array(-100, -240, 200, '<span class="SmallBld">September Frost:</span><br>Gather stripes, plaids and a dash of prints and batiks to create these fascinating eight-pointed stars. Careful cutting of plaids and stripes make the stars &quot;spin.&quot; Your color choice in the side triangles creates an &quot;accent&quot; square. Placing a darker fabric around the edges of the outer blocks establishes a &quot;glow&quot; from the center of the quilt.<br>Finished Sizes:<br>Lap/Wall 47&quot;x56&quot;<br>Twin 70&quot;x97&quot; w/border #3<br>Queen 91&quot;x118&quot;<br>King 109&quot;x118&quot;');
tips.mandy = new Array(-100, -240, 200, '<span class="SmallBld">Mandys Maze:</span><br>This quilt has the mystery of an interlocking maze of rings. &quot;Wash&quot; the rings with color values from darks to mediums for interesting effects of luminosity or choose two-color families to distinguish the rings. Strip pieces make this quilt easy to assemble. Great for weddings or anniversaries. Use novelty prints for a fascinating baby quilt.<br>Finished Sizes:<br>Wall/Baby 47&quot;x47&quot;<br>Twin 74&quot;x83&quot;<br>Queen 96&quot;x108&quot;<br>King 104&quot;x120&quot;');
tips.butter = new Array(-100, -240, 200, '<span class="SmallBld">Butter Blues:</span><br>This is a variation of the traditional Churn Dash block. Use the fabric from your blue and yellow collection or pick your own color theme. Learn machine piecing, half-square triangle assembly, speed piecing and cutting methods. Template free. This no-fuss wall hanging is quick to assemble. Use novelty fabrics for a fabulous baby quilt.<br>Finished Size:<br>Wall/Baby 45&quot;x45&quot;<br>Twin 69&quot;x93&quot;<br>Queen 93&quot;x105&quot;<br>King 105&quot;x117&quot;');
tips.cwwreath = new Array(-100, -150, 200, '<span class="SmallBld">Colorwash Wreath:</span><br>With this pattern you can create this stunning Colorwash Wreath wall quilt using the fast strip-piecing method. Customize by changing the wreath ribbon colors to complement your own d&eacute;cor.<br>Finished Size: 38.5&quot;x39.5&quot;');
tips.cwirishchain = new Array(-100, -170, 200, '<span class="SmallBld">Colorwash Irish Chain:</span><br>This pattern is a beauty of a quilt and so much fun to make. The nine fabrics used in the chain &quot;wash&quot; from light to dark to light values are wonderfully complemented by the background fabric. The Pattern includes instructions for nap-, twin-, queen-, and king-size. Our Number One Bestseller!<br>Available Finished Sizes: Nap 53.5&quot;x67&quot; or Queen 92.5&quot;x115.&quot;');
tips.cwstar = new Array(-100, -170, 200, '<span class="SmallBld">Colorwash Star for All Seasons:</span><br>This pattern will help you create a Lone Star design that is delightfully elegant. Using the strip-piecing method makes this project fun. Use this as a wall hanging or a fabulous centerpiece for a larger quilt. This pattern includes the applique motifs for Spring, Fall, and Christmas.<br>Finished Size: 52&quot;x52&quot;');

tips.sample = new Array(-100, -120, 200, '<span class="SmallBld">Title:</span><br>Desc<br>Finished Size: 55&quot;x55&quot;');

 // How much of a delay do you want between pointing and action? Defaults are:
 showDelay = 50;
 hideDelay = 20;
 //
 // False will hide tips instantaneously. Fading only works under IE/Win and NS6+.
 //doFades = false;
 // You can change the minimum and maximum opacity percentages, defaults:
 //minAlpha = 0;
 //maxAlpha = 100;
 //
 // How fast the transparency changes (between 1 and 100), higher means faster fades.
 fadeInSpeed = 40;
 fadeOutSpeed = 40;
 //
 // Tip stickiness, from 0 to 1, defines how readily the tip follows the cursor. 1 means it
 // follows it perfectly (the default), 0 is a static tip, and decimals are 'floating' tips.
 tipStick = 1.0;
 //


}
