var blk1 = "https://www.paypal.com/cgi-bin/webscr?cmd=_cart"; var blk1a = "&add=1"; var blk1d = "&display=1"; var blk2 = "&business=mtngun@gmail.com"; var Niname = "&item_name="; var Viname = "x1"; var Ninum = "&item_number="; var Vinum = "x2"; var Namt = "&amount="; var Vamt = "0.01" var Non0 = "&on0="; var Vos0 = "xxx" // ***************************************** function addStdToCart(bullet,block,price) { Viname=escape(bullet + " " + block) Vamt = escape(price) window.open (blk1 + blk1a + blk2 + Niname + Viname + Namt + Vamt, "paypal") }