var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014935&docid=70074986&x=310',
		'title': '',
		'imageId': '70074986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014935&docid=70074992&x=310',
		'title': '',
		'imageId': '70074992',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014935&docid=70075003&x=310',
		'title': '',
		'imageId': '70075003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014935&docid=70075001&x=310',
		'title': '',
		'imageId': '70075001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014935&docid=70075006&x=310',
		'title': '',
		'imageId': '70075006',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014935&docid=70075007&x=310',
		'title': '',
		'imageId': '70075007',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014935&docid=70075005&x=310',
		'title': '',
		'imageId': '70075005',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014935&docid=70075013&x=310',
		'title': '',
		'imageId': '70075013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014935&docid=70075021&x=310',
		'title': '',
		'imageId': '70075021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014935&docid=70075022&x=310',
		'title': '',
		'imageId': '70075022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014935&docid=70075023&x=310',
		'title': '',
		'imageId': '70075023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014935&docid=70075024&x=310',
		'title': '',
		'imageId': '70075024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014935&docid=70075025&x=310',
		'title': '',
		'imageId': '70075025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014935&docid=70075031&x=310',
		'title': '',
		'imageId': '70075031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014935&docid=70075034&x=310',
		'title': '',
		'imageId': '70075034',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014935&docid=70075036&x=310',
		'title': '',
		'imageId': '70075036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014935&docid=70074988&x=310',
		'title': '',
		'imageId': '70074988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014935&docid=70074989&x=310',
		'title': '',
		'imageId': '70074989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014935&docid=70074987&x=310',
		'title': '',
		'imageId': '70074987',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014935&docid=70075039&x=310',
		'title': '',
		'imageId': '70075039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014935&docid=70074984&x=310',
		'title': '',
		'imageId': '70074984',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014935&docid=70075154&x=310',
		'title': '',
		'imageId': '70075154',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014935&docid=70074985&x=310',
		'title': '',
		'imageId': '70074985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014935';

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