// Here we wait for the HTML DOM to be ready
window.addEvent('domready', function() {
	// Here we create the Tooltips
	var myTips = new Tips('.tooltip');
	
	// Here we can add a fade in and fade out to them
	myTips.addEvent('show', function(tip, el){
	tip.fade('in');
	});
	myTips.addEvent('hide', function(tip, el){
	tip.fade('out');
});

// Here we can tell each tooltip what information to have in it
$('blower_en').store('tip:text', '<div style="text-align: left; padding: 0px 10px 0px 10px; border: 2px solid #7B0518;"><h4 style="color: #7B0518; text-align: center; margin-top: 0px;">Blower problems</h4><ul class="red_arrow" style="margin-bottom: -5px;"><li class="red_arrow">Use vibration analysis for preventative maintenance</li><li class="red_arrow">Make sure inlet screen is clean</li><li class="red_arrow">Clean blower internals annually</li><li class="red_arrow">Ensure drive pulley is as close as possible to blower housing</li><li class="red_arrow">Check base bolts for looseness</li><li class="red_arrow">Check motor amperage regularly</li></ul></div>');

$('feeder_en').store('tip:text', '<div style="text-align: left; padding: 0px 10px 0px 10px; border: 2px solid #7B0518;"><h4 style="color: #7B0518; text-align: center; margin-top: 0px;">Feeder Problems</h4><ul class="red_arrow" style="margin-bottom: -5px;"><li class="red_arrow">Keep top knife sharp at all times.</li><li class="red_arrow">If leaking air above feeder –rebuild feeder</li><li class="red_arrow">A vibrating reducer may indicate wear problems or overloading</li><li class="red_arrow">Check motor amperage regularly</li></ul></div>');

$('foreign_material_en').store('tip:text', '<div style="text-align: left; padding: 0px 10px 0px 10px; border: 2px solid #7B0518;"><h4 style="color: #7B0518; text-align: center; margin-top: 0px;">Foreign material</h4><ul class="red_arrow" style="margin-bottom: -5px;"><li class="red_arrow">Install a scrap trap in tee injector to remove rocks and metal as small as ¼"</li><li class="red_arrow">Ice buildup in pipe can be reduced by sucking warmer air</li></ul></div>');

$('elbow_en').store('tip:text', '<div style="text-align: left; padding: 0px 10px 0px 10px; border: 2px solid #7B0518;"><h4 style="color: #7B0518; text-align: center; margin-top: 0px;">Elbow Wear</h4><ul class="red_arrow" style="margin-bottom: -5px;"><li class="red_arrow">Check air velocity to reduce wear in piping.  Call Mektek for a velocity calculation.</li><li class="red_arrow">Install anti-abrasion backs such as 600 BHN cast segments</li><li class="red_arrow">Repair all worn areas to ensure smooth flow.</li><li class="red_arrow">Replace round bends with replaceable back elbows</li></ul></div>');

$('pipeline_en').store('tip:text', '<div style="text-align: left; padding: 0px 10px 0px 10px; border: 2px solid #7B0518;"><h4 style="color: #7B0518; text-align: center; margin-top: 0px;">Pipeline Plugs</h4><ul class="red_arrow" style="margin-bottom: -5px;"><li class="red_arrow">Check for air loss in pipe</li><li class="red_arrow">Check for air loss due to: Blower drive slippage, inlet screen plugged ,feeder wear, etc)</li><li class="red_arrow">Check if cyclone discharge area is backed up</li><li class="red_arrow">Check that pressure control panel is functioning properly</li></ul></div>');

$('cyclone_en').store('tip:text', '<div style="text-align: left; padding: 0px 10px 0px 10px; border: 2px solid #7B0518;"><h4 style="color: #7B0518; text-align: center; margin-top: 0px;">Dirty Cyclone</h4><ul class="red_arrow" style="margin-bottom: -5px;"><li class="red_arrow">Check that bottom discharge is not causing material to back-up</li><li class="red_arrow">Check that internals are smooth (no shoulders)</li><li class="red_arrow">If problem exists since installation then verify design and setup.</li></ul></div>');

$('capacity_en').store('tip:text', '<div style="text-align: left; padding: 0px 10px 0px 10px; border: 2px solid #7B0518;"><h4 style="color: #7B0518; text-align: center; margin-top: 0px;">Capacity Problems</h4><ul class="red_arrow" style="margin-bottom: -5px;"><li class="red_arrow">Check all items above.</li><li class="red_arrow">Has pipeline layout changed</li><li class="red_arrow">Is more material being fed to system</li><li class="red_arrow">Is pipe partially plugged</li><li class="red_arrow">Is No Load Pressure different from at time of startup</li><li class="red_arrow">Call us to re-calculate system at no charge</li></ul></div>');
});
