var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013728&docid=69617888&x=1252',
		'title': '',
		'imageId': '69617888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013728&docid=69617887&x=1252',
		'title': '',
		'imageId': '69617887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013728&docid=69617889&x=1252',
		'title': '',
		'imageId': '69617889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013728&docid=69617891&x=1252',
		'title': '',
		'imageId': '69617891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013728&docid=69617890&x=1252',
		'title': '',
		'imageId': '69617890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013728&docid=69617897&x=1252',
		'title': '',
		'imageId': '69617897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013728&docid=69617898&x=1252',
		'title': '',
		'imageId': '69617898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013728&docid=69617900&x=1252',
		'title': '',
		'imageId': '69617900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013728&docid=69617908&x=1252',
		'title': '',
		'imageId': '69617908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013728&docid=69617909&x=1252',
		'title': '',
		'imageId': '69617909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013728&docid=69617914&x=1252',
		'title': '',
		'imageId': '69617914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013728&docid=69617919&x=1252',
		'title': '',
		'imageId': '69617919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013728&docid=69617920&x=1252',
		'title': '',
		'imageId': '69617920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013728&docid=69617921&x=1252',
		'title': '',
		'imageId': '69617921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013728&docid=69617924&x=1252',
		'title': '',
		'imageId': '69617924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013728&docid=69617930&x=1252',
		'title': '',
		'imageId': '69617930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013728&docid=69617929&x=1252',
		'title': '',
		'imageId': '69617929',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013728&docid=69617939&x=1252',
		'title': '',
		'imageId': '69617939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013728&docid=69617941&x=1252',
		'title': '',
		'imageId': '69617941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013728&docid=69617942&x=1252',
		'title': '',
		'imageId': '69617942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013728&docid=69617935&x=1252',
		'title': '',
		'imageId': '69617935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013728&docid=69617907&x=1252',
		'title': '',
		'imageId': '69617907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013728&docid=69617945&x=1252',
		'title': '',
		'imageId': '69617945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013728&docid=69617886&x=1252',
		'title': '',
		'imageId': '69617886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013728';

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