// JavaScript Document
var source = QueryString.params['source'];
if (source != null) {
    source.toLowerCase();
}
var price = QueryString.params['price'];
if (price != null) {
    price.toLowerCase();
}

if (source != null && source != "" && source != undefined) {   
    switch (source) {
        case "yahoo":
	        switch (price) {
	            case "3999":
	                hbx.mlc="/business/bhsi/3999/yahoo";
	                //hbx.pn="BHSI ACQ 39 Yahoo Landing Page";
	                //document.title = "BHSI ACQ 39 Yahoo Landing Page";
	                break;
	            case "2999":
	                hbx.mlc="/business/bhsi/2999/yahoo";
	                //hbx.pn="BHSI ACQ 29 Yahoo Landing Page";
	                //document.title = "BHSI ACQ 29 Yahoo Landing Page";
	                break;
	            default:
	                hbx.mlc="/business/bhsi/3999/yahoo";
	                //hbx.pn="BHSI ACQ 39 Yahoo Landing Page";
	                //document.title = "BHSI ACQ 39 Yahoo Landing Page";
	                break;
	        }
	        break;
	        
	    case "aol":
	        switch (price) {
	            case "3999":
	                hbx.mlc="/business/bhsi/3999/aol";
	                //hbx.pn="BHSI ACQ 39 AOL Landing Page";
	                //document.title = "BHSI ACQ 39 AOL Landing Page";
	                break;
	            case "2999":
	                hbx.mlc="/business/bhsi/2999/aol";
	                //hbx.pn="BHSI ACQ 29 AOL Landing Page";
	                //document.title = "BHSI ACQ 29 AOL Landing Page";
	                break;
	            default:
	                hbx.mlc="/business/bhsi/3999/aol";
	                //hbx.pn="BHSI ACQ 39 AOL Landing Page";
	                //document.title = "BHSI ACQ 39 AOL Landing Page";
	                break;
	        }
	        break;
        case "dm":
            switch (price) {
	            case "3999":
	                hbx.mlc="/business/bhsi/3999/dm";
	                //hbx.pn="BHSI ACQ 39 DM Landing Page";
	                //document.title = "BHSI ACQ 39 DM Landing Page";
	                break;
	            case "2999":
	                hbx.mlc="/business/bhsi/2999/dm";
	                //hbx.pn="BHSI ACQ 29 DM Landing Page";
	                //document.title = "BHSI ACQ 29 DM Landing Page";
	                break;
	            default:
	                hbx.mlc="/business/bhsi/3999/dm";
	                //hbx.pn="BHSI ACQ 39 DM Landing Page";
	                //document.title = "BHSI ACQ 39 DM Landing Page";
	                break;
	        }
	        break;
        case "google":
            switch (price) {
	            case "3999":
	                hbx.mlc="/business/bhsi/3999/google";
	                //hbx.pn="BHSI ACQ 39 Google Landing Page";
	                //document.title = "BHSI ACQ 39 Google Landing Page";
	                break;
	            case "2999":
	                hbx.mlc="/business/bhsi/2999/google";
	                //hbx.pn="BHSI ACQ 29 Google Landing Page";
	                //document.title = "BHSI ACQ 39 Google Landing Page";
	                break;
	            default:
	                hbx.mlc="/business/bhsi/3999/google";
	                //hbx.pn="BHSI ACQ 39 Google Landing Page";
	                //document.title = "BHSI ACQ 39 Google Landing Page";
	                break;
	        }
	        break;
        case "msn":
            switch (price) {
	            case "3999":
	                hbx.mlc="/business/bhsi/3999/msn";
	                //hbx.pn="BHSI ACQ 39 MSN Landing Page";
	                //document.title = "BHSI ACQ 39 MSN Landing Page";
	                break;
	            case "2999":
	                hbx.mlc="/business/bhsi/2999/msn";
	                //hbx.pn="BHSI ACQ 29 MSN Landing Page";
	                //document.title = "BHSI ACQ 29 MSN Landing Page";
	                break;
	            default:
	                hbx.mlc="/business/bhsi/3999/msn";
	                //hbx.pn="BHSI ACQ 39 MSN Landing Page";
	                //document.title = "BHSI ACQ 39 MSN Landing Page";
	                break;
	        }
	        break;
        case "banner":
            switch (price) {
	            case "3999":
	                hbx.mlc="/business/bhsi/3999/banner";
	                //hbx.pn="BHSI ACQ 39 Banner Landing Page";
	                //document.title = "BHSI ACQ 39 Banner Landing Page";
	                break;
	            case "2999":
	                hbx.mlc="/business/bhsi/2999/banner";
	                //hbx.pn="BHSI ACQ 29 Banner Landing Page";
	                //document.title = "BHSI ACQ 29 Banner Landing Page";
	                break;
	            default:
	                hbx.mlc="/business/bhsi/3999/banner";
	                //hbx.pn="BHSI ACQ 39 Banner Landing Page";
	                //document.title = "BHSI ACQ 39 Banner Landing Page";
	                break;
	        }
	        break;
        default:
            hbx.mlc="/business/bhsi/3999/organic";
            //hbx.pn="BHSI ACQ 39 Landing Page";
            //document.title = "BHSI ACQ 39 Landing Page";
            break;	        
	}                                  
} else {
    
    switch (price)
    {			
        case "3999":
	        //HBX
	        hbx.mlc="/business/bhsi/3999/organic";
	        //hbx.pn="BHSI ACQ 39 Landing Page";
			//document.title = "BHSI ACQ 39 Landing Page";
	        break;
			
        case "2999":
	        //HBX
	        hbx.mlc="/business/bhsi/2999/organic";
	        //hbx.pn="BHSI ACQ 29 Landing Page";
	        //document.title = "BHSI ACQ 29 Landing Page";
	        break;
		
        default:
	        hbx.mlc="/business/bhsi/3999/organic";
	        //hbx.pn="BHSI ACQ 39 Landing Page";
	        //document.title = "BHSI ACQ 39 Landing Page";
	        break;
    } 
}
