cript,
<!DOCTYPE HTML>
<meta charset="utf-8">
<script type='text/javascript' src='http://code.jquery.com/jquery-1.8.3.js'></script>
<link rel="stylesheet" type="text/css" href="http://fancyapps.com/fancybox/source/jquery.fancybox.css">
<script type='text/javascript' src="http://fancyapps.com/fancybox/source/jquery.fancybox.js"></script>
<div id="inline" style=" display: none">
<h3>Системное сообщение</h3>
<form name="delete" action="#" method="post">
<p>Текст</p>
<input id="abc" name="abcid">
<input type="submit" name="del" id="send" value="Да">
<img src="">
</form>
</div>
<script type="text/javascript">
$(document).ready(function() {
$(".modalbox").fancybox({
'afterLoad': function() {
id = $(this.element).attr('rel');
$('img')[0].src="http://javascript.ru/forum/images/ca_serenity/misc/"+id;
}
});
});
</script>
<a class="modalbox" href="#inline" rel="logo.gif">Popup</a>