function checkframe(){ 
if (document.layers && (self.innerHeight == 0 && self.innerWidth == 0)) return; 
if (top == self || (parent.frames[1].name!= 'a167')){ 
if (document.images) 
top.location.replace('design.htm?' + location.href); 
else 
top.location.href = 'design.htm?' + location.href; 
} 
}