// set initial vars var imgArray = new Array(); var industry = 0; var service = 0; var tool = 0; var globid = 0; var oldid = 0; var goingback = 0; var globabout = 0; var race = 0; var bufBlurb; var bufTitle; var defText = "We are an advanced engineering group dedicated to bringing practical solutions to our Industrial Clients.

Please select on an industry below to learn more about the services that we offer."; // initialize data arrays var indBlurb = new Array(); var indTitle = new Array(); var indName = new Array(); var serBlurb = new Array(); var serTitle = new Array(); var serName = new Array(); var toolBlurb = new Array(); var toolTitle = new Array(); var toolName = new Array(); var imgArray = new Array(); //default vars var defTitle; var defBlurb; indName[1]='Automotive Industry'; indTitle[1]='Automotive Industry'; indBlurb[1]='We provide the auto industry with advanced engineering support and reliable custom equipment. ] We also perform simulations and trialing of new and inovative concepts that are a result of our Research and Development.'; indName[2]='Mining Industry'; indTitle[2]='Mining Industry'; indBlurb[2]='With a focus on product durability, we work closely with our Mining clients to keep them competitive in their industry.'; indName[3]='Industrial Plants'; indTitle[3]='Industrial Plants'; indBlurb[3]=''; indName[4]='Steel Fabricators'; indTitle[4]='Steel Fabricators'; indBlurb[4]=''; indName[5]='Product Manufacturers'; indTitle[5]='Product Manufacturers and OEMs'; indBlurb[5]='Our projects utilize our experience and some of the latest technologies in engineering design tools. This allows our clients to be highly competitive in their industry. ] We can either provide our clients with full design services, or when needed, integrate and strengthen the abilities of their internal engineering departments.'; indName[6]='Building Owners & Managers'; indTitle[6]='Building Owners & Managers'; indBlurb[6]='We offer Building Engineering Services to a wide range of clients including Contractors, Architects, Municipalities, Institutions, Religious, Heritage and Commercial.'; indName[7]='About Us'; indTitle[7]='About Pow Engineering'; indBlurb[7]='Learn more about our company, our growth, and how to contact us.'; // window.document.forms[FRM].elements[BTN].style.backgroundColor = "#666666"; function initPreload() { numimages = getNumImages();// cachedimg = []; for(var i=0; i", " < ", "
  • "); outdata = doBullet(outdata, "]", "

    ", "

    < ", "

    "); outdata = outdata.replace("}", ":"); //outdata = doBullet(ourdata, "*", "
    , " ", " "); return outdata; } function doBullet(data,rep_char, start_block_tag, end_block_tag, end_unit_tag) { var endPos = 0; var lastEndPos; var startPos = 0; var thisrun = 0; var indexOfBullet; while (endPos!=-1) { // This is NOT an overisight! endPos =data.indexOf("|", startPos+1); if (endPos != -1) { if (thisrun ==1) { startPos =data.indexOf(" "+rep_char+" ", lastEndPos); } else { startPos = data.indexOf(" "+rep_char+" "); } data = findString(data, startPos+2, start_block_tag); endPos =data.indexOf("|"); data = findString(data, endPos+1, end_block_tag); thisrun=1; lastEndPos = endPos; } } while (indexOfBullet!=-1) { indexOfBullet = data.indexOf(" "+rep_char+" "); data = data.replace(" "+rep_char+" ", end_unit_tag); data = data.replace(" < ", '|'); } return data; } // Data assignment function processData(buf) { var opendata = parseBuffer(buf); var items = opendata.length; for (i=0;i

    "; //newtag.setAttribute("onclick","javascript:handleClick(\"+industry+\", \"+inc+\", 1);"); } else { newtag.innerHTML = "

    "+data+"

    "; } ni.appendChild(newtag); // if only I would have known about you sooner, oh anonymous function newtag.onmouseover = function() {handleOver(inc);}; //newtag.onmouseout = function() {resetDefaults();}; } function getWheel(){ if (window.event.type == "mousewheel" ) { if (window.event && window.event.wheelDelta ) { //var msge = ""; if (window.event.wheelDelta > 0) msge = "Wheel rolled up"; else if (window.event.wheelDelta < 0) msge = "Wheel rolled down"; else //msge = "Not up or Down"; //document.getElementById("msge").value = msge; if(window.event) { key = window.event.keyCode; if(window.event.ctrlKey) return false; else return true; } } } return true; } function disableSelection(element) { element.onselectstart = function() { return false; } element.unselectable = "on"; var element = document.getElementById('contbox'); element.onselectstart = function () { return false; } // ie element.onmousedown = function () { return false; } // mozilla } function addDelay(millis) { var date = new Date(); var curDate = null; do { curDate = new Date(); } while(curDate-date < millis); } function replaceStartVars() { for(jump=1;jump<8;jump++) { indBlurb[jump] = doReplacers(indBlurb[jump]); jump++; } } replaceStartVars(); disableSelection(document); getWheel();