loginwin = function(){
	$.ajax({
		url: '/login.cfm',
		cache: false,
		success: function(response){
			$("#log_window").html(response);
			$("#log_window").dialog({
				autoOpen: true,
				title: 'Fan Network Login',
				width: 500,
				height: 300,
				modal: true,
				draggable: true,
				resizable: false
				});
			}
		});
	}

logoutwin = function(){
	$.ajax({
		url: '/logout.cfm',
		cache: false,
		success: function(response){
			$("#log_window").html(response);
			$("#log_window").dialog({
				autoOpen: true,
				title: 'Fan Network Logout',
				width: 500,
				height: 300,
				modal: true,
				draggable: true,
				resizable: false
				});
			}
		});
}

loginwin_bak = function(){
    ColdFusion.Window.create('login', 'Fan Network Login', '/login.cfm', {
        modal: true,
        closable: true,
        draggable: true,
        resizable: false,
        center: true,
        initshow: true,
        width: 500,
        height: 300
    })
ob = ColdFusion.Window.getWindowObject('login')
    ob.center()
}

logoutwin_bak = function(){
    ColdFusion.Window.create('logout', 'Fan Network Logout', '/logout.cfm', {
        modal: true,
        closable: true,
        draggable: true,
        resizable: false,
        center: true,
        initshow: true,
        width: 500,
        height: 300
    })
ob = ColdFusion.Window.getWindowObject('logout')
    ob.center()
}

pricingwin = function(){
    ColdFusion.Window.create('pricing', 'Subscription Options', 'pricing.cfm', {
        modal: true,
        closable: true,
        draggable: true,
        resizable: false,
        center: true,
        initshow: true,
        width: 800,
        height: 600
    })
ob = ColdFusion.Window.getWindowObject('pricing')
    ob.center()
}

upgradeSubscriptionWin = function(){
    ColdFusion.Window.create('cart_subscription_upgrade', 'Become A Fan Network Plus Subscriber', '_cart_subscription_upgrade.cfm', {
        modal: true,
        closable: false,
        draggable: true,
        resizable: false,
        center: true,
        initshow: true,
        width: 500,
        height: 200
    })
ob = ColdFusion.Window.getWindowObject('cart_subscription_upgrade')
    ob.center()
}

