File: /home/bigisxfd/public_html/wp-content/plugins/advanced-iframe/js/iframe_height.html
<script type="text/javascript">
function aiGup( name, url ) {
if (!url) url = location.href
name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
var regexS = "[\\?&]"+name+"=([^&#]*)";
var regex = new RegExp( regexS );
var results = regex.exec( url );
return results == null ? null : results[1];
}
var nHeight = aiGup("height");
if (nHeight != null) {
try {
var loc = aiGup("loc");
if (loc != null) {
if (typeof window.parent.parent.aiChangeUrl === "function"){
window.parent.parent.aiChangeUrl(loc);
}
}
var title = aiGup("title");
if (title != null && title != "undefined") {
window.parent.parent.document.title = decodeURIComponent(title);
}
var id = aiGup("id");
var nWidth = aiGup("width");
if (id != null) {
var iHeight = parseInt(nHeight,10);
var iWidth = parseInt(nWidth,10);
window.parent.parent.aiResizeIframeHeightId(iHeight,iWidth, id);
window.parent.parent.aiShowIframeId(id);
} else {
alert("Please update the ai_external.js to the current version.");
}
} catch(e) {
if (console && console.log) {
console.log(e);
}
}
}
</script>