var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008641&docid=69926739&x=131',
		'title': '',
		'imageId': '69926739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008641&docid=69926737&x=131',
		'title': '',
		'imageId': '69926737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008641&docid=69926746&x=131',
		'title': '',
		'imageId': '69926746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008641&docid=69926733&x=131',
		'title': '',
		'imageId': '69926733',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008641&docid=69926744&x=131',
		'title': '',
		'imageId': '69926744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008641&docid=69926728&x=131',
		'title': '',
		'imageId': '69926728',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008641&docid=69926738&x=131',
		'title': '',
		'imageId': '69926738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008641&docid=69926741&x=131',
		'title': '',
		'imageId': '69926741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008641&docid=69926745&x=131',
		'title': '',
		'imageId': '69926745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008641&docid=69926727&x=131',
		'title': '',
		'imageId': '69926727',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008641&docid=69926735&x=131',
		'title': '',
		'imageId': '69926735',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008641&docid=69926742&x=131',
		'title': '',
		'imageId': '69926742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008641&docid=69926743&x=131',
		'title': '',
		'imageId': '69926743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008641&docid=69926732&x=131',
		'title': '',
		'imageId': '69926732',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008641&docid=69926730&x=131',
		'title': '',
		'imageId': '69926730',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008641&docid=69926736&x=131',
		'title': '',
		'imageId': '69926736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008641&docid=69926729&x=131',
		'title': '',
		'imageId': '69926729',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008641&docid=69926734&x=131',
		'title': '',
		'imageId': '69926734',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008641&docid=69926731&x=131',
		'title': '',
		'imageId': '69926731',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008641&docid=69926740&x=131',
		'title': '',
		'imageId': '69926740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008641';

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