var url_array = new Array(); var img_array = new Array(); var descr_array = new Array(); var type_array = new Array(); var img_type = 'horiz'; var num_products = 0; function add_product(url, img, descr, type_descr) // fill global arrays with new product data { url_array[num_products] = url; img_array[num_products] = img; descr_array[num_products] = descr; type_array[num_products] = type_descr; num_products++; } add_product("go.php?prod_id=avast_is&action=buy", "images/avast-is-2014-info-468x60.gif", "avast! Internet Security", "Internet Security"); add_product("go.php?prod_id=avast_pro&action=buy", "images/avast-av-pro-7-468x60.gif", "avast! Professional", "Anti-Virus"); add_product("go.php?prod_id=bdis&action=buy", "images/bitdefender-is-2013-468x60.gif", "Bitdefender Internet Security", "Internet Security"); add_product("go.php?prod_id=kav&action=buy", "images/kaspersky-av-2012-468x60.gif", "Kaspersky Anti-Virus", "Anti-Virus"); add_product("go.php?prod_id=kis&action=buy", "images/kaspersky-is-2012-468x60.gif", "Kaspersky Internet Security", "Internet Security"); add_product("go.php?prod_id=mailwasherpro&action=buy", "images/mailwasherpro-468x60.jpg", "MailWasher PRO", "Anti-Spam"); add_product("go.php?prod_id=outpost-fw-pro&action=buy", "images/outpost-banner-468x60.jpg", "Outpost Firewall Pro", "Firewall"); add_product("go.php?prod_id=pcpandora&action=buy", "images/pc-pandora-banner-468x60.gif", "PC Pandora", "Parental Control"); add_product("go.php?prod_id=spambully&action=buy", "images/spambully_banner3.gif", "Spam Bully", "Anti-Spam"); add_product("go.php?prod_id=spamfighterpro&action=buy", "images/spamfighter-pro-7-468x60.gif", "SPAMfighter PRO", "Anti-Spam");