example of setting iframe contents via iframe's .contentDocument.documentElement.innerHTML
added basic capbility for customizing header/footer/title/css