var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010572&docid=69972994&x=4934',
		'title': '',
		'imageId': '69972994',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010572&docid=69972986&x=4934',
		'title': '',
		'imageId': '69972986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010572&docid=69973002&x=4934',
		'title': '',
		'imageId': '69973002',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010572&docid=69972984&x=4934',
		'title': '',
		'imageId': '69972984',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010572&docid=69972987&x=4934',
		'title': '',
		'imageId': '69972987',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010572&docid=69972992&x=4934',
		'title': '',
		'imageId': '69972992',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010572&docid=69972995&x=4934',
		'title': '',
		'imageId': '69972995',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010572&docid=69972996&x=4934',
		'title': '',
		'imageId': '69972996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010572&docid=69972991&x=4934',
		'title': '',
		'imageId': '69972991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010572&docid=69972999&x=4934',
		'title': '',
		'imageId': '69972999',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010572&docid=69972990&x=4934',
		'title': '',
		'imageId': '69972990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010572&docid=69973001&x=4934',
		'title': '',
		'imageId': '69973001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010572&docid=69972989&x=4934',
		'title': '',
		'imageId': '69972989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010572&docid=69972988&x=4934',
		'title': '',
		'imageId': '69972988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010572&docid=69973000&x=4934',
		'title': '',
		'imageId': '69973000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010572&docid=69972998&x=4934',
		'title': '',
		'imageId': '69972998',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010572&docid=69972985&x=4934',
		'title': '',
		'imageId': '69972985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010572&docid=69972997&x=4934',
		'title': '',
		'imageId': '69972997',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010572&docid=69973003&x=4934',
		'title': '',
		'imageId': '69973003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010572&docid=69972993&x=4934',
		'title': '',
		'imageId': '69972993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010572';

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