var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3973837&docid=69117769&x=048',
		'title': '',
		'imageId': '69117769',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973837&docid=69117772&x=048',
		'title': '',
		'imageId': '69117772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973837&docid=69117776&x=048',
		'title': '',
		'imageId': '69117776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973837&docid=69117781&x=048',
		'title': '',
		'imageId': '69117781',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973837&docid=69117787&x=048',
		'title': '',
		'imageId': '69117787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973837&docid=69117792&x=048',
		'title': '',
		'imageId': '69117792',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973837&docid=69117798&x=048',
		'title': '',
		'imageId': '69117798',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973837&docid=69117804&x=048',
		'title': '',
		'imageId': '69117804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973837&docid=69117809&x=048',
		'title': '',
		'imageId': '69117809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973837&docid=69117814&x=048',
		'title': '',
		'imageId': '69117814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973837&docid=69117820&x=048',
		'title': '',
		'imageId': '69117820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973837&docid=69117825&x=048',
		'title': '',
		'imageId': '69117825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973837&docid=69117830&x=048',
		'title': '',
		'imageId': '69117830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973837&docid=69117835&x=048',
		'title': '',
		'imageId': '69117835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973837&docid=69117840&x=048',
		'title': '',
		'imageId': '69117840',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973837&docid=69117847&x=048',
		'title': '',
		'imageId': '69117847',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973837&docid=69117856&x=048',
		'title': '',
		'imageId': '69117856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973837&docid=69117857&x=048',
		'title': '',
		'imageId': '69117857',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973837&docid=69117858&x=048',
		'title': '',
		'imageId': '69117858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973837&docid=69117859&x=048',
		'title': '',
		'imageId': '69117859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973837&docid=69117860&x=048',
		'title': '',
		'imageId': '69117860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973837&docid=69117861&x=048',
		'title': '',
		'imageId': '69117861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3973837';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
