pop = function(elem) {
	new Effect.Appear($(elem));
}

winPop = function(url, name, width, height) {
	var w = window.open(url,name,'toolbar=no,menu=no,location=no,status=no,scrollbars=no,resizable=no,width=' + width + ',height=' + height);
	w.focus();
}

showCard = function(url, name, width, height) {
	winPop(url, name, width, height);	
}

comingsoon = function(div) {
	Position.clone(div,'comingsoon');
	if (div == 'knickers') {
		var w= parseInt($('comingsoon').style.height) - 3 + parseInt($('comingsoon').style.top) + 'px';
		$('comingsoon').style.top=w;
	} else {
		var w= parseInt($('comingsoon').style.width) + 10 + parseInt($('comingsoon').style.left) + 'px';	
		$('comingsoon').style.left=w;
	}
	new Effect.Appear($('comingsoon'));
	setTimeout('fadeCS()', 1000);
}

fadeCS = function() {
	new Effect.Fade($('comingsoon'));
}
