//$(document).ready(function() {

//	/* Modal */
//	$('.ccModal').click(function() {
//		//TODO CREATE
//		$("body").append('<div id="ccModalWrapper"><div id="ccModal"><iframe id="ccModalIframe" src="about:blank" width="1" height="1" frameborder="0" allowtransparency="true" border="0" scrolling="no"></iframe></div></div><div id="ccModalBG"></div>');
//		$("#ccModalBG").fadeTo('fast',0, function(){
//			$(this).css({"backgroundColor":"#FFFFFF"});
//			$(this).fadeTo('fast',0.8);	
//		});
//					
//		$('#ccModalBG').bind('click', function() {
//			ccModalRemove();
//		})
//		$('#ccModalWrapper').show();
//		$('#ccModal').children("iframe#ccModalIframe").attr("src", $(this).attr("href"));
//		return false;
//	});

//});


//function ccModalRemove() {
//	$('iframe#ccModalIframe').contents().find("#modalhider").fadeIn('fast', function(){
//		ccModalResize(2, 2, true);
//	});
//}

//function ccModalResize(newHeight, newWidth, hide) {
//	var marginTop = -Math.round(newHeight / 2);
//	var marginLeft = -Math.round(newWidth / 2);
//		if (hide == true) {
//			$('#ccModalBG').fadeTo('medium',0, function(){
//				$(this).remove();
//			});

//		}

//	$('#ccModal').animate({ "marginLeft": marginLeft, "marginTop": marginTop }, "slow").children('iframe#ccModalIframe').animate({ "width": newWidth, "height": newHeight }, "slow", function() {
//		if (hide == true) {
//			$('#ccModalWrapper').hide().remove();
//		}
//		else {
//			$('iframe#ccModalIframe').contents().find("#modalhider").fadeOut('medium');
//		}
//	});
//}
