var white_content_type;
var white_channel;
var white_category;
var white_site;

//init("FLASH", "Valentine Homepage", "Offers",  "Cross");
function init(c_type, site, channel, category){
	
}

function track(section_name, trackCategory){
	if(section_name){
		if(trackCategory)dcsMultiTrack("WT.ti",section_name,"”WT.cg_n",trackCategory);
		else dcsMultiTrack("WT.ti",section_name);
	}
}
function track_getURL(the_url, section_name, target, w, h, do_scroll, trackCategory){
	try{
		track(section_name, trackCategory);
	}catch(e){}
	if(target == "_blank"){
		if(w != '' && h != '' && w != null && h != null){
			open_pop(the_url, 'child', w, h, do_scroll);
		}else{
			child = window.open(the_url, 'child');
			if (window.focus) { child.focus(); }
		}
	}else{
		window.location = the_url;
	}
}

function track_link(section_name){
}

function open_pop(aPage, aTarget, w, h, var1, var2){
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	
	child = window.open(aPage,aTarget,'status=no,scrollbars=' +((var1=='scroll' || var2=='scroll')? 'yes' : 'no')+ ',resizable=' +((var1=='resize' || var2=='resize')? 'yes' : 'no')+ ',width='+w+',height='+h +',left = '+winl +',top = ' +wint);

	if (window.focus){
		child.focus();
	}
}
