/*js feature data for what's new page created 08-27-2009 by Don Doggett*/

var ddFeatures=new Array();
ddFeatures[0]="<li><strong><a href='/sensors/inductive/foodbev/871ts.html'><img src='/sensors/inductive/foodbev/images/mainimage_871ts.jpg' width='75' height='55' class='floatleft' style='margin-bottom:1px'>871TS Food & Beverage Inductive Proximity Sensors</strong></a><br>The Allen-Bradley 871TS Food & Beverage Inductive Proximity sensors from Rockwell Automation are designed to address the most demanding applications in the food and beverage industry. These sensors withstand high pressure and high temperature washdown while offering superior resistance to corrosion and damage caused by harsh cleansing agent.</li>";
ddFeatures[1]="<li><strong><a href='/sensors/photoelectric/general/42ca.html'><img src='/sensors/photoelectric/general/images/mainimage_42ca.jpg' width='75' height='55' class='floatleft' style='margin-bottom:1px'>42CA General Purpose Photoelectric Sensors</a></strong><br>Rockwell Automation introduces an improved and expanded line of Allen-Bradley 42CA general purpose photoelectric sensors. Packed with enhanced features, these easy-to-use sensors are available in a full-range of sensing modes and distances and are an excellent choice for material handling, packaging and assembly applications.</li>";
ddFeatures[2]="<li><strong><a href='/sensors/inductive/welding/871zt.html'><img src='/sensors/inductive/welding/images/mainimage_871zt.jpg' width='75' height='55'  class='floatleft' style='margin-bottom:1px' >871ZT Weld-Field Immune Proximity Sensors</a></strong><br>Weld splatter accumulation on the sensor face is one of the greatest causes of sensor malfunction in the automotive industry.  Both the sensor barrel and face of the Allen-Bradley 871ZT weld-field immune Proximity sensor are completely PTFE coated to resist the adhesion and accumulation of weld splatter thereby preventing a “lock on” condition and extending sensor function.</li>";
ddFeatures[3]="<li><strong><a href='/sensors/photoelectric/colorcontrast/45clr.html'><img src='/sensors/photoelectric/colorcontrast/images/mainimage_45clr.jpg'  width='75' height='55' class='floatleft' style='margin-bottom:1px'>45CLR ColorSight&trade; Photoelectric Color Sensor</a></strong><br>The ColorSight&trade; 45CLR is a self-contained color detection sensor with three output channels, allowing for the concurrent sensing of three different colors. RS-485 compatible models are also available that provide matching of up to 5 colors and communicate true RGB values for remote processing of additional colors.</li>";
ddFeatures[4]="<li><strong><a href='/sensors/photoelectric/miniature/42js.html'><img src='/sensors/photoelectric/miniature/images/mainimage_42js.jpg'  width='75' height='55' class='floatleft' style='margin-bottom:1px'>42JS VisiSight&trade; Photoelectric Sensor</a></strong><br>The new Allen-Bradley&reg; VisiSight line of general purpose photoelectric sensors offers a full range of sensing modes in a sealed, compact, cavity-free housing that minimizes the collection of dust and debris while allowing for easy sensor cleanup.</li>";
ddFeatures[5]="<li><strong><a href='/limitswitches/heavyduty/802tlowenergy.html'><img src='/limitswitches/heavyduty/images/mainimage_802t-le.jpg'  width='75' height='55' class='floatleft' style='margin-bottom:1px'>802T Low Energy Limit Switches</a></strong><br>Since low energy loads do not arc or burn the contacts clean, contaminants may cause erratic switch behavior.  Allen-Bradley&reg; low energy limit switches from Rockwell Automation&reg; are designed with welded gold and silver alloy contacts to provide a protective barrier against surface oxides.</li>";
ddFeatures[6]="<li><strong><a href='/limitswitches/iec/440p22compactmetal.html'><img src='/limitswitches/safety/images/mainimage_440p22cm.jpg'  width='75' height='55' class='floatleft' style='margin-bottom:1px'>440P Compact Metal 22mm IEC Style Limit Switches </a></strong><br>The Allen-Bradley 440P limit switch family offers a full range of international style solutions for both safety and standard sensing applications. The latest additions to this product family are rugged metal-bodied models in a compact 22 mm housing.</li>";
ddFeatures[7]="<li><strong><a href='/sensors/photoelectric/lightarrays/45mla.html '><img src='/sensors/photoelectric/lightarrays/images/mainimage_45mla.jpg'  width='75' height='55' class='floatleft' style='margin-bottom:1px'>45MLA Measuring Light Arrays</a></strong><br>Light array sensors combine multiple emitter or receiver elements into a single housing to create a &quot;sensing field&quot; instead of a single &quot;sensing beam&quot;. Therefore, this type of sensor is capable of detecting targets over a wider area. This makes the arrays ideal for detecting oddly shaped parts, products with gaps or spaces, or inconsistently positioned targets, at a fraction of the cost of using multiple sensor pairs.  The 45MLA can determine individual beam status, allowing the sensor to detect target height, width, or position.</li>";
ddFeatures[8]="<li><strong><a href='/sensors/photoelectric/lightarrays/45dla.html '><img src='/sensors/photoelectric/lightarrays/images/mainimage_45dla.jpg'  width='75' height='55' class='floatleft' style='margin-bottom:1px'>45DLA Discrete Light Arrays</a></strong><br>The 45DLA Discrete Light Array is the latest addition to the Allen-Bradley light array family. Featuring a very slim profile and a simple on/off output, the 45DLA is ideal for detecting oddly shaped parts, products with gaps or spaces, or inconsistently positioned targets.</li>";
ddFeatures[9]="<li><strong><a href='/sensors/photoelectric/fiberoptic/45fpl.html'><img src='/sensors/photoelectric/fiberoptic/images/mainimage_45fpl.jpg'  width='75' height='55' class='floatleft' style='margin-bottom:1px'>45FPL Long Range Fiber Optic </a></strong><br>The 45FPL is a compact DIN rail mount sensor designed for use with fiber optic cables up to 2.2 mm in diameter. The large LED display combined with a one touch multidirectional pushbutton makes the 45FPL very easy to set up in your application.</li>";
function get_random() {
    var ranNum= Math.floor(Math.random()*ddFeatures.length);
    return ranNum;
}

function writeFeatures (num) {
	if (num == 0) {
		var len =ddFeatures.length;
		for(var i=0; i<len; i++) {
			document.write(ddFeatures[i]);
		}
	} else {
		for(var i=0; i<num; i++) {
			var pickFeature = get_random();
			document.write(ddFeatures[pickFeature]);
			ddFeatures.splice(pickFeature,1); 
		}
	}

}
