var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3992270&docid=69539157&x=5653',
		'title': '',
		'imageId': '69539157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992270&docid=69539167&x=5653',
		'title': '',
		'imageId': '69539167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992270&docid=69539163&x=5653',
		'title': '',
		'imageId': '69539163',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992270&docid=69539165&x=5653',
		'title': '',
		'imageId': '69539165',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992270&docid=69539162&x=5653',
		'title': '',
		'imageId': '69539162',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992270&docid=69539156&x=5653',
		'title': '',
		'imageId': '69539156',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992270&docid=69539159&x=5653',
		'title': '',
		'imageId': '69539159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992270&docid=69539160&x=5653',
		'title': '',
		'imageId': '69539160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992270&docid=69539161&x=5653',
		'title': '',
		'imageId': '69539161',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992270&docid=69539158&x=5653',
		'title': '',
		'imageId': '69539158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992270&docid=69539164&x=5653',
		'title': '',
		'imageId': '69539164',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992270&docid=69539172&x=5653',
		'title': '',
		'imageId': '69539172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992270&docid=69539170&x=5653',
		'title': '',
		'imageId': '69539170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992270&docid=69539176&x=5653',
		'title': '',
		'imageId': '69539176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992270&docid=69539171&x=5653',
		'title': '',
		'imageId': '69539171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992270&docid=69539166&x=5653',
		'title': '',
		'imageId': '69539166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992270&docid=69539178&x=5653',
		'title': '',
		'imageId': '69539178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992270&docid=69539168&x=5653',
		'title': '',
		'imageId': '69539168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992270&docid=69539169&x=5653',
		'title': '',
		'imageId': '69539169',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992270&docid=69539177&x=5653',
		'title': '',
		'imageId': '69539177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992270&docid=69539173&x=5653',
		'title': '',
		'imageId': '69539173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992270&docid=69539174&x=5653',
		'title': '',
		'imageId': '69539174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992270&docid=69539175&x=5653',
		'title': '',
		'imageId': '69539175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3992270';

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