//redirect to secured page
var topUrl = top.document.location.href
var curUrl = document.location.href
if (topUrl != curUrl && topUrl.indexOf('http:') == 0)
{
	top.document.location = topUrl.replace(/http:/, 'https:')
}

$(document).ready(function ()
{
	//auto resize all containing iframe
	$(top.document).find("iframe[src*=ebookOrderForm.aspx]").css("height", "670px");
	$(top.document).find("iframe[src*=ebookOrderForm.aspx]").css("width", "680px");
})

