var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3993745&docid=69575298&x=5634',
		'title': '',
		'imageId': '69575298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993745&docid=69575316&x=5634',
		'title': '',
		'imageId': '69575316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993745&docid=69575307&x=5634',
		'title': '',
		'imageId': '69575307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993745&docid=69575305&x=5634',
		'title': '',
		'imageId': '69575305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993745&docid=69575302&x=5634',
		'title': '',
		'imageId': '69575302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993745&docid=69575300&x=5634',
		'title': '',
		'imageId': '69575300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993745&docid=69575309&x=5634',
		'title': '',
		'imageId': '69575309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993745&docid=69575303&x=5634',
		'title': '',
		'imageId': '69575303',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993745&docid=69575308&x=5634',
		'title': '',
		'imageId': '69575308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993745&docid=69575306&x=5634',
		'title': '',
		'imageId': '69575306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993745&docid=69575304&x=5634',
		'title': '',
		'imageId': '69575304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993745&docid=69575311&x=5634',
		'title': '',
		'imageId': '69575311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993745&docid=69575310&x=5634',
		'title': '',
		'imageId': '69575310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993745&docid=69575301&x=5634',
		'title': '',
		'imageId': '69575301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993745&docid=69575314&x=5634',
		'title': '',
		'imageId': '69575314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993745&docid=69575315&x=5634',
		'title': '',
		'imageId': '69575315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993745&docid=69575313&x=5634',
		'title': '',
		'imageId': '69575313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993745&docid=69575312&x=5634',
		'title': '',
		'imageId': '69575312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993745&docid=69575299&x=5634',
		'title': '',
		'imageId': '69575299',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3993745';

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