﻿//MAINTAINS THE MARKETING CAMPAIGN CODE LOGIC THAT THE PREVIOUS SITE HAD
var uri = parseUri(window.location);
if (typeof(uri.queryKey["ccode"]) != "undefined")
{
     createCookie("ccode", uri.queryKey["ccode"], 90);
}

if (typeof(uri.queryKey["WT.mc_id"]) != "undefined")
{
     createCookie("ccode", uri.queryKey["WT.mc_id"], 90);
}

if (typeof(uri.queryKey["DCSext.ppc_kw"]) != "undefined")
{
     createCookie("kw", uri.queryKey["DCSext.ppc_kw"], 90);
}

function ReceiveChildWindowHeight(height)
{
     $("#vizadminFrame").height(height);
}