var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3936942&docid=68291048&x=3051',
		'title': '',
		'imageId': '68291048',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936942&docid=68291047&x=3051',
		'title': '',
		'imageId': '68291047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936942&docid=68291044&x=3051',
		'title': '',
		'imageId': '68291044',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936942&docid=68291045&x=3051',
		'title': '',
		'imageId': '68291045',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936942&docid=68291043&x=3051',
		'title': '',
		'imageId': '68291043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936942&docid=68291046&x=3051',
		'title': '',
		'imageId': '68291046',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936942&docid=68291049&x=3051',
		'title': '',
		'imageId': '68291049',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936942&docid=68291050&x=3051',
		'title': '',
		'imageId': '68291050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936942&docid=68291051&x=3051',
		'title': '',
		'imageId': '68291051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936942&docid=68291052&x=3051',
		'title': '',
		'imageId': '68291052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936942&docid=68291053&x=3051',
		'title': '',
		'imageId': '68291053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936942&docid=68291055&x=3051',
		'title': '',
		'imageId': '68291055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936942&docid=68291054&x=3051',
		'title': '',
		'imageId': '68291054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936942&docid=68291056&x=3051',
		'title': '',
		'imageId': '68291056',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936942&docid=68291057&x=3051',
		'title': '',
		'imageId': '68291057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936942&docid=68291059&x=3051',
		'title': '',
		'imageId': '68291059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936942&docid=68291058&x=3051',
		'title': '',
		'imageId': '68291058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936942&docid=68291060&x=3051',
		'title': '',
		'imageId': '68291060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936942&docid=68291061&x=3051',
		'title': '',
		'imageId': '68291061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936942&docid=68291062&x=3051',
		'title': '',
		'imageId': '68291062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936942&docid=68291063&x=3051',
		'title': '',
		'imageId': '68291063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3936942';

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";
	})
}
