//
// Browser Detection
//
isMac = (navigator.appVersion.indexOf("Mac")!=-1) ? true : false;
NS4 = (document.layers) ? true : false;
IEmac = ((document.all)&&(isMac)) ? true : false;
IE4plus = (document.all) ? true : false;
IE4 = ((document.all)&&(navigator.appVersion.indexOf("MSIE 4.")!=-1)) ? true : false;
IE5 = ((document.all)&&(navigator.appVersion.indexOf("MSIE 5.")!=-1)) ? true : false;
ver4 = (NS4 || IE4plus) ? true : false;

// Generic Layer Object Functions

// Make an object visible
function showObject(obj) 
{
        if (NS4) obj.visibility = "show";
        else if (IE4plus) obj.visibility = "visible";
}

// Hides an object
function hideObject(obj) 
{
        if (NS4) obj.visibility = "hide";
        else if (IE4plus) obj.visibility = "hidden";
}

// Move a layer
function moveTo(obj,xL,yL) 
{
        obj.left = xL;
        obj.top = yL;
}


//
// MouseTip Methods
//

function MouseTip_ShowNew()
{
	this.WriteLayer();
	this.Show();
}

function MouseTip_Hide()
{
	if ( (NS4) || (IE4plus) ) 
	{
		this.snow = 0;
		hideObject(this.over);
	}
}

function MouseTip_Show() 
{
	if ( (NS4) || (IE4plus) ) 
	{
		if (this.snow == 0) 	
		{
			if (this.dir == 2) 
			{ // Center
				moveTo(this.over,this.x+MouseTip.offsetX-(MouseTip.width/2),this.y+MouseTip.offsetY);
			}
			if (this.dir == 1) 
			{ // Right
				moveTo(this.over,this.x+MouseTip.offsetX,this.y+MouseTip.offsetY);
			}
			if (this.dir == 0) 
			{ // Left
				moveTo(this.over,this.x-MouseTip.offsetX-MouseTip.width,this.y+MouseTip.offsetY);
			}
			showObject(this.over);
			this.snow = 1;
		}
	}
}


// Writes to a layer
function MouseTip_WriteLayer() 
{
        if (NS4) 
        {
                var lyr = eval(MouseTip.divPath).document;
                lyr.write(this.txt);
                lyr.close();
        }
        else if (IE4plus) 
			document.all["overDiv"].innerHTML = this.txt;
}

function MouseTip_AddTip(type,tipTitle,tipText)
{
	var tip = new Object();
	tip.type = type;
	tip.title = tipTitle;
	tip.text = tipText;
	MouseTip.tips[MouseTip.tips.length] = tip;
}

function MouseTip_GetTip(type)
{
	var tip = null;
	
	for (i=0; i < MouseTip.tips.length; i++)
	{
		if (MouseTip.tips[i].type==type)
		{
			tip = MouseTip.tips[i];
			break;
		}
	}
	return tip;
}

function MouseTip(type,dir,x,y)
{
	this.x = x;
	this.y = y;
	this.snow = 0;
	this.dir = dir;
	this.over = null;
	
	this.ShowNew = MouseTip_ShowNew;
	this.Hide = MouseTip_Hide;
	this.Show = MouseTip_Show;
	this.WriteLayer = MouseTip_WriteLayer;

	if ( (NS4) || (IE4plus) ) 
	{
		if (NS4) this.over = eval(MouseTip.divPath);
		if (IE4plus) this.over = document.all["overDiv"].style;
	}

	var tip = MouseTip.GetTip(type);
	
	this.txt = '<TABLE WIDTH=' + MouseTip.width + ' BORDER=0 CELLPADDING=' + MouseTip.borderWidth +
		' CELLSPACING=0 BGCOLOR="' + MouseTip.borderColor + '"><TR><TD>' + 
		'<TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=0 BGCOLOR="' + MouseTip.bgColor +
		'"><TR><TD></TD>' +
		'<TD><FONT SIZE=2><b>' + tip.title + '</b>' + 
		tip.text + '</FONT></TD></TR></TABLE></TD></TR></TABLE><p></p>';
	
}
MouseTip.current = null;
MouseTip.tips = new Array();
MouseTip.bgColor = "#FFFFFF";
MouseTip.borderColor = "#000066";
MouseTip.width = 200
MouseTip.borderWidth = 2;
MouseTip.offsetX = 10;
MouseTip.offsetY = 10;
MouseTip.divPath = "document.overDiv";

MouseTip.AddTip = MouseTip_AddTip;
MouseTip.GetTip = MouseTip_GetTip;


function ShowMouseTip(obj,e,type)
{
	if ( (NS4) || (IE4plus) ) 
	{
		var x = 0;
		var y = 0;
		if (NS4) {x=e.pageX; y=e.pageY;}
		if (IE4plus) {x=e.clientX+document.body.scrollLeft; y=e.clientY+document.body.scrollTop;}

		MouseTip.current = new MouseTip(type,1,x,y);
		MouseTip.current.ShowNew();
	}
}

function HideMouseTip()
{
	if ( (NS4) || (IE4plus) ) 
	{
		if (MouseTip.current)
			MouseTip.current.Hide();
	}
}

MouseTip.AddTip("tip54","#40 Graphic Arts Glass Cleaner","<br>Removes smoke film, finger prints, and dirt from glass");
MouseTip.AddTip("tip55","#63 C-60 Solvent Cleaner & Degreaser","<br>Removes oil and grease stains, ink, and fresh paints easily");
MouseTip.AddTip("tip56","#82 Mist Type Pallet Adhesive","<br>Holds tack for several screen passes");
MouseTip.AddTip("tip57","#83 Web Type Pallet Adhesive","<br>Repositionable yet strong enough to hold sweatshirt material");
MouseTip.AddTip("tip58","#384 Super Flash Pallet Adhesive","<br>Textile screen printing pallet adhesive is ideal for flash curing");
MouseTip.AddTip("tip59","#206 Specialty Film Cleaner","<br>Effectively removes tape marks, adhesives, inks, finger prints, dirt");
MouseTip.AddTip("tip60","#955 Anti-Static Spray","<br>Stops electricity on paper, plastic, cellophane, textile products");
MouseTip.AddTip("tip61","#957 Instant Screen Opener","<br>Regular use helps prevent clogging and work delays");
MouseTip.AddTip("tip62","Chroma/Fill Red Screen Blockout","<br>Fill large areas of open mesh and to tough up pinholes or other defects in the image area");
MouseTip.AddTip("tip63","Con-ER Stencil Removing Concentrate","<br>Highly concentrated liquid emulsion remover");
MouseTip.AddTip("tip64","Sten-Erase Stencil Removing Solution","<br>Ready to use, extra strength emulsion remover");
MouseTip.AddTip("tip65","Sten-X Stencil Remover","<br>Removes emulsion and capillary films");
MouseTip.AddTip("tip66","SMP Crystals","<br>Dissolve contents into water to make reclaiming solutions");
MouseTip.AddTip("tip67","Anti-Stain Ghost Stain Remover","<br>Removes stubborn stains and ghost images");
MouseTip.AddTip("tip68","Haze Free","<br>Removes imbedded U.V. and plastisol inks that remain on the screen");
MouseTip.AddTip("tip69","Bioprep","<br>A non-flammable, non-hazardous, low V.O.C., biodegradeable degreaser");
MouseTip.AddTip("tip70","Chroma/Brade Mesh Abrader Degreaser","<br>Gives the mesh tooth to improve adhesion of films");
MouseTip.AddTip("tip71","Superprep","<br>Designed to make monofilament fabric more receptive for excellent stencil adhesion");
MouseTip.AddTip("tip72","975 Screen Wash","<br>Economical all pupose screen wash");
MouseTip.AddTip("tip73","D-Grade Ink Degradent","<br>Removes plasticol ink without softening or damaging stencil");
MouseTip.AddTip("tip74","L.U.V. Graphics Press Wash","<br>Low V.O.C.'s, low vapor pressure, low odor, high flashpoint");
MouseTip.AddTip("tip75","Plast Wash Press Wash","<br>Evaporates fast without leaving any solvent residue on the screen");
MouseTip.AddTip("tip76","R.S.W. Screen Wash","<br>Low evaporation press wash and recirculating solvent");
MouseTip.AddTip("tip77","Mystic","<br>Excelent spot cleaning gun at an incredible price");
MouseTip.AddTip("tip78","EX4000","<br>Excellent combination of high-quality and excellent value</b>");
MouseTip.AddTip("tip79","SG-5000","<br>Most powerful spot cleaing gun manufactured");
MouseTip.AddTip("tip80","SG-7000","<br>High quality spot cleaning gun at a low price");
MouseTip.AddTip("tip81","Superkleen S.P.I.F.","<br>Removes cured plastisol inks, most water-based inks, flock lettering and adhesives from all textiles");
MouseTip.AddTip("tip82","S.P.I.F. II","<br>Unique cured ink remover which does not contain methylene chloride");
MouseTip.AddTip("tip83","Chroma/Tech PL","<br>Pure photopolymer for plastisol ink users");
MouseTip.AddTip("tip84","Chroma/Tech PL-2","<br>Pure photopolymer for accuracy when doing fine detail work");
MouseTip.AddTip("tip85","CP2","<br>Diazo based photostencil emulsion excellent for printers using solvent, UV or plastisol inks");
MouseTip.AddTip("tip86","ChromaBlue","<br>Very fast exposing, Fast drying");
MouseTip.AddTip("tip87","UDC-2","<br>Perfect combination of price and performance");
MouseTip.AddTip("tip88","UDC-3","<br>Premium product for shops requiring the very best quality");
MouseTip.AddTip("tip89","UDC-HV","<br>High viscosity for easy coating on low or high mesh counts");
MouseTip.AddTip("tip90","Files","<br>Save your films and store them in files");
MouseTip.AddTip("tip91","Code Tabs","<br>Find that important film with coded tabs");
MouseTip.AddTip("tip92","Filing Racks","<br>Store those film files in a rack");
MouseTip.AddTip("tip93","Chroma/Tech PHAT Film","<br>Ideal choice for printers seeking a heavy ink deposit in a variety of applications");
MouseTip.AddTip("tip94","Magna/Cure","<br>Provides remarkable image quality and exceptionally durable; stencils");
MouseTip.AddTip("tip95","Pro/Cap","<br>Economically priced diazo based capillary film for producing trouble-free screens");
MouseTip.AddTip("tip96","Reflex","<br>Photopolymer-based indirect process film");
MouseTip.AddTip("tip97","MZX Manual Textile Frame","<br>Retensionable frames");
MouseTip.AddTip("tip98","Wood Frames","<br>Finished and rounded corners");
MouseTip.AddTip("tip99","Mesh","<br>Monofilament polyester mesh");
MouseTip.AddTip("tip100","Auto-Pal","<br>Low odor, fast drying solvent based adhesive");
MouseTip.AddTip("tip101","Tex-Tac","<br>A water-based, pressure-sensitive adhesive designed for adhering textiles to pallets in the screen printing process.");
MouseTip.AddTip("tip102","Pellons","<br>Screenprint test squares made from heat resistant nonwoven fabric");
MouseTip.AddTip("tip103","Scoop Coaters","<br>Comfortable handling while providing a smooth layer of emulsion on your screen");
MouseTip.AddTip("tip104","Squeegee","<br>Complete squeegees with contoured handles or blade only");
MouseTip.AddTip("tip105","Numbering Stencils","<br>Direct print numbers on most fabrics without investing in expensive numbering equipment");
MouseTip.AddTip("tip106","Blue Block Out","<br>Perfect block out tape for wood screens");
MouseTip.AddTip("tip107","Pallet Tape","<br>Never clean up spray from your pallets again");
MouseTip.AddTip("tip108","PMI Split Tape","<br>Eliminates need for costly labor and solvent to clean frames");
MouseTip.AddTip("tip109","Solvent Resistant Tape","<br>Quality grade, solvent reistant, cloth tape, designed for blocking of frames");
MouseTip.AddTip("tip110","Haze Remover Paste","<br>Removes imbedded ink, haze and ghost images");
MouseTip.AddTip("tip111","G.D.R.","<br>Ink degrader and screen wash removes U.V. & solvent-based inks");
MouseTip.AddTip("tip112","Envirall","<br>Quick and convienient removal of plastisol ink and PVOH stencil");
MouseTip.AddTip("tip113","Caseys Translucency","<br>High-quality vellum like paper designed for laser printers and copiers.");
MouseTip.AddTip("tip114","Kimodesk","<br>It is possible to burn screens without the need for cameras, processors, or chemistry.");
MouseTip.AddTip("tip115","Ultra-Black Fixative","<br>Darkens laser printer output. Perfect for use with Caseys Translucency.");
MouseTip.AddTip("tip116","AccuArt2","<br>Now you can achieve extraordinary results on nearly any printer, with nearly all inks.");
MouseTip.AddTip("tip117","AccuFast","<br>Waterproof inkjet film for both pigment and dye-based systems");
MouseTip.AddTip("tip118","AccuMark","<br>Clarity and translucency far surpassing vellum, excellent stability and fantastic capacity for color saturation at a fraction of the cost of other inkjet films");
MouseTip.AddTip("tip120","Expert Scorch Remover","<br>Instantly removes scorch and light burn marks from clothing.");
MouseTip.AddTip("tip126","Transfert 75","<br>Smooth easy release with good dimensional stability");
MouseTip.AddTip("tip127","Super Trans","<br>Can be used to produce both hot-and-cold split transfers as well as plastisol puff, glitter, ad metallic transfers.");
MouseTip.AddTip("tip128","Frame Adhesive","<br>Cures instantly. Can be used on metal or wood frames");
MouseTip.AddTip("tip129","Safety Solvent","<br>Debonds almost any adhesive within a few seconds.");
MouseTip.AddTip("tip130","Gloves","<br>Gloves for keeping ink and solvent away from hands.");
MouseTip.AddTip("tip131","Goop Scoop","<br>Remove the ink for your containers without any mesh our Goop Scoops.");
MouseTip.AddTip("tip132","Hinge Clamps - Cast","<br>Allows fast changeover between jobs");
MouseTip.AddTip("tip133","Hinge Clamps - Steel","<br>Fast set-up, ideal for prototype or production use.");
MouseTip.AddTip("tip134","Lid-Off","<br>Plastic pail opener for quick and easy removal of plastic lids without cutting and distorting container.");
MouseTip.AddTip("tip135","Safety Glasses","<br>Eye protection from solvents splattering or projectiles");
MouseTip.AddTip("tip136","Spatula","<br>Stainless steel all purpose spatulas have rosewood handles and brass rivets. Semi-flexible blade is ideal fro stirring inks and mixing colors.");
MouseTip.AddTip("tip137","Spray Bottle & Trigger","<br>Chemical resistant 32 oz. spray bottle and trigger");
MouseTip.AddTip("tip138","Temperature Strips","<br>Formulated to react within a few seconds when the rated temperature is reached.");
MouseTip.AddTip("tip147","Chroma/Haze","<br>Haze Remover - works fast without the strong odor usually associated with haze removers.");
MouseTip.AddTip("tip148","Pantone Color Guide","<br>1,114 solid PANTONE MATCHING SYSTEM Colors");
MouseTip.AddTip("tip149","Scrub Brushes - Disposable","<br>Helps loosen & clean up your emulsion and ink from your screens with these disposable scrub brushes.");
MouseTip.AddTip("tip150","Raytek MT4","<br>Temperature gun with laser sighting, 0 to 500 degree fahrenheit range");
MouseTip.AddTip("tip151","Raytek ST20","<br>Temperature gun with laser sighting, -25 to 750 degree fahrenheit range");
MouseTip.AddTip("tip152","Aluminum Frames","<br>No more warping with aluminum frames");
MouseTip.AddTip("tip157","Fast Orange","<br>Strong hand cleaner for ink, grease, or dirt");
MouseTip.AddTip("tip158","Economy Wiper","<br>Save with this economically priced wiper");
MouseTip.AddTip("tip159","Team Wiper","<br>This wiper is great for screen printers. Durable and comes in a handy pop-up dispenser box.  Lint Free");
MouseTip.AddTip("tip161","FastPOSITIVE","<br>No Shrinkage, Excellent Quality, & Great DOT Retension");
MouseTip.AddTip("tip162","FastRIP","<br>Software that renders Imagesetter quality with an Inkjet printer");
MouseTip.AddTip("tip163","FastFilms","<br>An Adobe Photoshop PlugIn For Color Separations");
MouseTip.AddTip("tip170","INSTAINK","<br>Dye ink for Epson Printers");
MouseTip.AddTip("tip180","Newman ST Meter","<br>Exceptional quality that will last longer and produce consistent readings every time");
MouseTip.AddTip("tip187","Containers-Empty","<br>Excellent for mixing and storing your inks");
MouseTip.AddTip("tip188","Vector Artwork","<br>Say goodbye to your art problems! Say hello to the greatest value in artwork! Tens of thousands of high quality, vector images and editable templates for just $30!");
MouseTip.AddTip("tip189","Vector Artwork","<br>Say goodbye to your art problems! Say hello to the greatest value in artwork! Tens of thousands of high quality, vector images and editable templates for just $30!");
MouseTip.AddTip("tip190","Atlas Double Sided Scoop Coater","<br>Atlas double sided scoop coaters are versitile with thier duel edges for use with both high and low mesh counts");
MouseTip.AddTip("tip191","MultiRIP","<br>Print Film Positives and Sublimation from the same printer");
MouseTip.AddTip("tip192","AccuRIP","<br>Easy to Use RIP Software");
MouseTip.AddTip("tip193","Spot Process VueRite","<br>Easy to Use Separation Software.  Stand Alone Application that can be used with most graphic programs");
MouseTip.AddTip("tip194","CP Tex","<br>an excellent choice for printers using water based and plastisol inks.");
MouseTip.AddTip("tip195","Blast-Off","<br>Removes cured plastisol and is fast drying");
MouseTip.AddTip("tip196","Haze Out","<br>Non-Hazardous. Removes embedded UV and Plastisol ink which remain after ink and emulsion removal");
MouseTip.AddTip("tip197","HR2800","<br>Specially formulated thick liquid to remove imbedded U.V., conventional and plastisol inks (haze / ghost images) that remain on the screen following emulsion removal");
MouseTip.AddTip("tip198","Blue Blockout","<br>Fix pinholes easily with Blue Blockout");
MouseTip.AddTip("tip200","ER9900L","<br>Emulsion Removing Concentrate for removing screen stencils.  Can be diluted 50:1");
MouseTip.AddTip("tip201","DG2200","<br>Provides an even sheeting of water for complete, uniform stencil adhesion.");
MouseTip.AddTip("tip202","SW145C","<br>A Citrus-scented, water-soluble screen wash designed to work quickly on Plastisol and UV Inks.");
MouseTip.AddTip("tip203","PW125","<br>A citrus scented, biodegradable press side wash designed to work quickly and efficiently on U.V., Solvent and Plastisol Inks to open dried or clogged screen images during production runs.");
MouseTip.AddTip("tip204","ER8550L","<br>Ready to use emulsion removing solution");
MouseTip.AddTip("tip205","#32 Fast Open","<br>Water based screen opener that has a pleasant odor and leaves no film");
MouseTip.AddTip("tip206","Foil","<br>Easy to use foil. Increase your designs visability.");
MouseTip.AddTip("tip207","DuraCap","<br>Easy to use and available in smaller packaging");
MouseTip.AddTip("tip208","SW210","<br>A low odor, water-soluble, multi purpose screen wash designed to work quickly on Plastisol, U.V. and many solvent-based inks.");
MouseTip.AddTip("tip209","SW220","<br>A water-soluble screen wash designed to work quickly on Water-Based and Rubber-Based Inks.");
MouseTip.AddTip("tip210","AP1000","<br>Ideal for efficient and expedient screen washing and reclaiming after the press run.");
MouseTip.AddTip("tip211","PW122","<br>A citrus scented, biodegradable press side wash designed to work quickly and efficiently on Plastisol Inks to open dried or clogged screen images during production runs.");
MouseTip.AddTip("tip212","ThermoFlex PLUS","<br>Very Soft computer cut vinyl");
MouseTip.AddTip("tip213","ThermoFlex PLUS METAL FLAKE","<br>Decorative Vinyl");
MouseTip.AddTip("tip214","ThermoFlex PLUS NEON","<br>Incredibly Soft Vinyl in fluorescent colors");
MouseTip.AddTip("tip215","DecoSPARKLE","<br>Holographic Film");
MouseTip.AddTip("tip216","Insta Jet","<br>Waterproof inkjet film for both pigment and dye-based systems");
MouseTip.AddTip("tip217","DZ 343","<br>Diazo Based Emulsion that can do thousands of prints and is still easy to reclaim");
MouseTip.AddTip("tip218","DZ 521","<br>Dual Cure Multi-Purpose Emulsion at a low cost ");
MouseTip.AddTip("tip219","Infinite Black","<br>Quality laser film at an affordable price ");
MouseTip.AddTip("tip220","Camie 380 Mist Adhesive","<br>Camie 380 is specifically designed for the textile screen printer to offer a true pressure sensitive adhesive that does not stain yet offers a quick tack. ");
MouseTip.AddTip("tip221","Camie 385 Web Adhesive","<br>Camie 385 Webbing Screen Printers’Adhesive is truly a pressure sensitive adhesive. Camie 385 provides a temporary bond for heavy weight materials. ");
MouseTip.AddTip("tip222","Camie 375 Flash Adhesive","<br>Camie 375 is a clear, mist spray, For rapid heat cycles in the Flash process ");
MouseTip.AddTip("tip223","Camie 480 Screen Opener","<br>Camie 480 Screen Opener works to unclog screens and loosen plastisol inks on screens. ");
MouseTip.AddTip("tip224","SP-3000","<br>The Expert SP-3000 is a high quality spot cleaning gun at an excellent price. It is perfect for Screen Printers. ");


