var prodMax=1;
var prod_array = new Array();
var firsttime=1;

function AddProducttoArray()
{

	var line="";
	var i=0;

	//////////////////////////////////////////////////////////////////////////////////////////////////////////////
	// Tu dodajemy wizytowki produktow
	//////////////////////////////////////////////////////////////////////////////////////////////////////////////
	
	//////////////////////////////////////////////////////////////////////////////////////////////////////////////
	//Anymux 4EN  :(1)
	line = "<B> ANYMUX-4EN-01 </B><br><P>";
	line += "<IMG title='' src='../4en_01.jpg' border=0>&nbsp&nbsp&nbsp";
	line +="<IMG alt='' src='../AN4EN_RAP3s.jpg' style='CURSOR: hand' onclick=WyswietlStrone('../AN4EN_RAP3.jpg');>";
	line +="<br>Inverse multiplexer - ANYMUX-4EN-01 realizes connection of LAN networks ";
	line +="through four E1 channels 2048 kbit/s. ";
	line +="Device supports protocols:  SNMP, HTTP, FTP, SMTP, SNTP ";
	line +="<IMG src='more1.gif' border=0 style='CURSOR: hand' onclick=WyswietlStrone('prod4en.php3');>";
	
	prod_array[i++] = line;
	//////////////////////////////////////////////////////////////////////////////////////////////////////////////

	//////////////////////////////////////////////////////////////////////////////////////////////////////////////
	//Anymux FOX  :(2)
	line = "<B> ANYMUX-FOX </B><br><P>";
	line += "<IMG title='' src='../foxss.jpg' border=0>&nbsp&nbsp&nbsp";
	line +="<IMG alt='' src='../foxis.jpg' style='CURSOR: hand' onclick=WyswietlStrone('../foxi.jpg');>";
	line +="<br>Device realizes transport Ethernet data stream and four E1 channels ";
	line +="2048kbit/s through fiber optic single or multimode link. ";
	line +="<IMG src='more1.gif' border=0 style='CURSOR: hand' onclick=WyswietlStrone('prodfox.php3');>";
	
	prod_array[i++] = line;
	//////////////////////////////////////////////////////////////////////////////////////////////////////////////

	//////////////////////////////////////////////////////////////////////////////////////////////////////////////
	//Anymux ADM  :(3)
	line = "<B> ANYMUX-ADM </B><br><P>";
	line += "<IMG title='' src='../admss.jpg' border=0>&nbsp&nbsp&nbsp";
	line +="<IMG alt='' src='../admis.jpg' style='CURSOR: hand' onclick=WyswietlStrone('../admii.jpg');>";
	line +="<br>ANYMUX-ADM realizes Ethernet – 2 x E1 (G.703) bridge functionality . Ethernet data stream ";
	line +=" is added and dropped into/from ";
	line +="E1's data streams. ";
	line +="<IMG src='more1.gif' border=0 style='CURSOR: hand' onclick=WyswietlStrone('prodadm.php3');>";
	
	prod_array[i++] = line;
	//////////////////////////////////////////////////////////////////////////////////////////////////////////////

	//////////////////////////////////////////////////////////////////////////////////////////////////////////////
	//Anymux E1  :(4)
	line = "<B> ANYMUX-E1 </B><br><P>";
	line += "<IMG title='' src='../ane1ss.jpg' border=0>&nbsp&nbsp&nbsp";
	line +="<IMG alt='' src='../mape11s.jpg' style='CURSOR: hand' onclick=WyswietlStrone('../mape11.jpg');>";
	line +="<br>ANYMUX-E1 realizes Ethernet-E1 bridge functionality transmits";
	line +=" transparently data. ";
	line +="There are accessible two working modes: ";
	line +="<IMG src='more1.gif' border=0 style='CURSOR: hand' onclick=WyswietlStrone('prode1.php3');>";
	
	prod_array[i++] = line;
	//////////////////////////////////////////////////////////////////////////////////////////////////////////////

	//////////////////////////////////////////////////////////////////////////////////////////////////////////////
	//Anymux E3XT  :(5)
	line = "<B> ANYMUX-E3XT </B><br><P>";
	line += "<IMG title='' src='../e3xtss.jpg' border=0>&nbsp&nbsp&nbsp";
	line +="<IMG alt='' src='../e3xtis.jpg' style='CURSOR: hand' onclick=WyswietlStrone('../e3xti.jpg');>";
	line +="<br>ANYMUX-E3XT realizes Ethernet and four E1 channels  ";
	line +="data stream transportation through synchronous E3 channel ";
	line +="34.368Mbit/s ... ";
	line +="<IMG src='more1.gif' border=0 style='CURSOR: hand' onclick=WyswietlStrone('prode3xt.php3');>";
	
	prod_array[i++] = line;
	//////////////////////////////////////////////////////////////////////////////////////////////////////////////

	//////////////////////////////////////////////////////////////////////////////////////////////////////////////
	//Anymux 2EN  :(6)
	line = "<B> ANYMUX-2EN-01 </B><br><P>";
	line += "<IMG title='' src='../2en_01.jpg' border=0>&nbsp&nbsp&nbsp";
	line +="<IMG alt='' src='../AN4EN_RAP2s.jpg' style='CURSOR: hand' onclick=WyswietlStrone('../AN4EN_RAP2.jpg');>";
	line +="<br>Inverse multiplexer - ANYMUX-2EN-01 realizes connection of LAN networks ";
	line +="through two E1 channels 2048 kbit/s. ";
	line +="Device supports protocols:  SNMP, HTTP, FTP, SMTP, SNTP ";
	line +="<IMG src='more1.gif' border=0 style='CURSOR: hand' onclick=WyswietlStrone('prod2en.php3');>";
	
	prod_array[i++] = line;
	//////////////////////////////////////////////////////////////////////////////////////////////////////////////

	//////////////////////////////////////////////////////////////////////////////////////////////////////////////
	//Anymux 2EN-02  :(7)
	line = "<B> ANYMUX-2EN-02 </B><br><P>";
	line += "<IMG title='' src='../2en_01.jpg' border=0>&nbsp&nbsp&nbsp";	
	line +="<br>Inverse multiplexer - ANYMUX-2EN-02 realizes connection of LAN networks ";
	line +="through two E1 channels 2048 kbit/s. ";
	line +="Configuration and management only from CLI. ";
	line +="<IMG src='more1.gif' border=0 style='CURSOR: hand' onclick=WyswietlStrone('prod2en.php3');>";
	
	prod_array[i++] = line;
	//////////////////////////////////////////////////////////////////////////////////////////////////////////////

	//////////////////////////////////////////////////////////////////////////////////////////////////////////////
	//Anymux E3  :(8)
	line = "<B> ANYMUX-E3 </B><br><P>";
	line += "<IMG title='' src='../e3ss.jpg' border=0>&nbsp&nbsp&nbsp";
	line +="<IMG alt='' src='../e3is.jpg' style='CURSOR: hand' onclick=WyswietlStrone('../e3i.jpg');>";
	line +="<br>ANYMUX-E3 it's bridge between Ethernet network and ";
	line +="synchronous E3 data stream of data 34,368Mbit ";
	line +="of telecommunications network. ";
	line +="<IMG src='more1.gif' border=0 style='CURSOR: hand' onclick=WyswietlStrone('prode3.php3');>";
	
	prod_array[i++] = line;
	//////////////////////////////////////////////////////////////////////////////////////////////////////////////

	//////////////////////////////////////////////////////////////////////////////////////////////////////////////
	//Anymux 4EN-02  :(9)
	line = "<B> ANYMUX-4EN-02 </B><br><P>";
	line += "<IMG title='' src='../4en_01.jpg' border=0>&nbsp&nbsp&nbsp";
	line +="<br>Inverse multiplexer - ANYMUX-4EN-02 realizes connection of LAN networks ";
	line +="through four E1 channels 2048 kbit/s. ";
	line +="Configuration and management only from CLI. ";
	line +="<IMG src='more1.gif' border=0 style='CURSOR: hand' onclick=WyswietlStrone('prod4en.php3');>";
	
	prod_array[i++] = line;
	//////////////////////////////////////////////////////////////////////////////////////////////////////////////
	

	prodMax = i-1;

	//////////////////////////////////////////////////////////////////////////////////////////////////////////////

}

function ProdWiz(pindex)
{
	
	//alert(pindex);
	if (firsttime) 
	{
		firsttime = 0;
		AddProducttoArray();
	}
	return prod_array[pindex];;

}

function GetIndex(prodIndex)
{

	if (firsttime) 
	{
		firsttime = 0;
		AddProducttoArray();
	}

	if ( ++prodIndex > prodMax) 
	{
		prodIndex = 0;
	}		
	return prodIndex;
}


var emptystring;

function EmptyFunc()
{
	return "";
}

