<script type="text/javascript">
var al_gi_no = 61597659;
var preview = "";
var resizeCount =0;
var resizeObj =null;
if (parent.$("#gicontent" + al_gi_no).width() == null)
{
top.document.location = "/?accessdeniedrecruitdetail";
}
var IEFramechk = "";
IEFramechk = (navigator.appName.indexOf("Microsoft") != -1) ? true : false
function resizeIframe(){
if(resizeCount>=15){
resizeObj = null;
return false;
}
var height = parent.$("#gicontent" + al_gi_no).contents().find('body')[0].scrollHeight;
if(height == null && $("#GIContentDiv").height() != null)
{
height = $("#GIContentDiv").height();
}
if(IEFramechk){
// parent.$("#gicontent" + al_gi_no).attr("height", height + 20);
parent.$("#gicontent" + al_gi_no).css("height", height + 20);
} else {
//parent.$("#gicontent" + al_gi_no).attr("height", height);
parent.$("#gicontent" + al_gi_no).css("height", height);
}
if (preview == "Y")
{
parent.winPrint();
}
resizeCount++;
//console.log('resizeCount = ' +resizeCount);
//console.log('resizeObj = ' +resizeObj);
//console.log('height = ' +height);
}
function PageLoad(){
setTimeout("resizeIframe()",1300);
}
$(document).ready(function(){
resizeIframe();
//상세모집요강 - 링크터치수 추가
$(document).on("click", "#GIContentDiv a", function(e){
if (al_gi_no < 500000000 && $(this).attr('href')) {
if($(this).attr("href").indexOf("mailto:") != 0) {
if(parent.Intrst_Mem_Hist){
parent.Intrst_Mem_Hist('1', al_gi_no, 'giViewDetail');
}else{
parent.recruitViewCommon.log.setIntrstHistory('1', al_gi_no, 'giViewDetail');
}
}
}
});
});
$(window).load(function() {
resizeObj= setInterval(function(){ resizeIframe();}, 100);
});
</script>