var w = null;
var c = null;
var iframesrc = "";
if ( typeof( window[ 'SGKB_width' ] ) != "undefined" ) {
	w = SGKB_width;
}
if ( typeof( window[ 'SGKB_color' ] ) != "undefined" ) {
	c = SGKB_color;
}
if (w == null && c == null) {
	document.write('<iframe src="http://kb.psi-structuralgenomics.org/Widget/index.jsp" width="250" height="250" style="border:1px #666666 solid;" frameborder="yes" scrolling="no"></iframe>');
}
else if (w == null && c != null) {
	document.write('<iframe src="http://kb.psi-structuralgenomics.org/Widget/index.jsp?SGKB_color=grey" width="250" height="250" style="border:1px #666666 solid;" frameborder="yes" scrolling="no"></iframe>');
}
else if (w != null && c == null) {
	document.write('<iframe src="http://kb.psi-structuralgenomics.org/Widget/index.jsp?SGKB_width=200" width="200" height="270" style="border:1px #666666 solid;" frameborder="yes" scrolling="no"></iframe>');
}
else {
	document.write('<iframe src="http://kb.psi-structuralgenomics.org/Widget/index.jsp?SGKB_width=200&SGKB_color=grey" width="200" height="270" style="border:1px #666666 solid;" frameborder="yes" scrolling="no"></iframe>');
}
