function addToCart(title, categoryId, productId, quantity)
	{
		var domain = "http://shop.performanceuniversity.org/addtocart.sc";
		var title = title;
		var categoryId = categoryId;
		var productId = productId;
		var quantity = quantity;
		var method = 'get';
		var add = document.getElementById('addToCart');
		var form = document.createElement('form');
		form.id = 'category'+categoryId+'_product'+productId+'';
		form.method = ''+method+'';
		form.action = ''+domain+'';
		form.target = '_new';
//		form.innerHTML = '<form> '+title+' <input type="hidden" name="categoryId" value="'+categoryId+'" /> <input type="hidden" name="productId" value="'+productId+'" /> <input type="hidden" name="quantity" value="'+quantity+'" /> <input type="submit" value="" class="add_to_cart_btn" /> </form>';
		form.innerHTML = ' '+title+' <input type="hidden" name="productId" value="'+productId+'" /> <input type="hidden" name="quantity" value="'+quantity+'" /> <input type="submit" value="" class="add_to_cart_btn" /> ';
		add.appendChild(form);		
	}

function full_class()
	{
//		alert('here');
		try
			{
				var fullClass = document.getElementById('fullBox');
				var fullBanner = document.getElementById('program');
				var banner = document.createElement('div');
				if (fullClass)
					{
						fullBanner.style.position = 'relative';
						banner.id = 'classFull';
						banner.style.width = '516px';
						banner.style.height = '50px';
						banner.style.paddingTop = '10px';
						banner.style.paddingLeft = '60px';
						banner.style.backgroundColor = '#e9e9e9';
						banner.style.position = 'absolute';
						banner.style.display = 'block';
						banner.style.left = '40px';
						banner.style.top = '35px';
						banner.style.border = '1px solid #000000';
						banner.style.fontSize = '34px';
						banner.style.color = '#ff0000';
						banner.innerHTML = 'FULL';
//						banner.style.-moz-opacity ='.89';
						banner.style.filter = 'alpha(opacity=89)';
						banner.style.opacity = '.89';
						fullBanner.appendChild(banner);
					}
			}
		catch (e)
			{
				alert(e);
			}
	}



