var iframeWidth;
var iframeHeight = "675px";

switch (_sciAm_widgetSize) {
	case "small" :
		iframeWidth = "240px";
		break;
	case "large" :
		iframeWidth = "300px";
		break;
	case "large_new" :
		iframeWidth = "300px";
		iframeHeight = "400px";
		break;
}

document.write("<iframe id='sciaWidget' src='http://www.scientificamerican.com/widgets/sciam_widgets/sciaWidget.html?size=" + _sciAm_widgetSize + "&feed=" + _sciAm_feedUrl + "' scrolling='no' border='no' frameborder='no' style = 'width:" + iframeWidth + ";height:" + iframeHeight + ";border: none;'></iframe>");