var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104686&x=744',
		'title': '',
		'imageId': '70104686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104687&x=744',
		'title': '',
		'imageId': '70104687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104688&x=744',
		'title': '',
		'imageId': '70104688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104698&x=744',
		'title': '',
		'imageId': '70104698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104697&x=744',
		'title': '',
		'imageId': '70104697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104705&x=744',
		'title': '',
		'imageId': '70104705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104706&x=744',
		'title': '',
		'imageId': '70104706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104707&x=744',
		'title': '',
		'imageId': '70104707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104708&x=744',
		'title': '',
		'imageId': '70104708',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104684&x=744',
		'title': '',
		'imageId': '70104684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104714&x=744',
		'title': '',
		'imageId': '70104714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104718&x=744',
		'title': '',
		'imageId': '70104718',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104722&x=744',
		'title': '',
		'imageId': '70104722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104723&x=744',
		'title': '',
		'imageId': '70104723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104725&x=744',
		'title': '',
		'imageId': '70104725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104727&x=744',
		'title': '',
		'imageId': '70104727',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104735&x=744',
		'title': '',
		'imageId': '70104735',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104784&x=744',
		'title': '',
		'imageId': '70104784',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104737&x=744',
		'title': '',
		'imageId': '70104737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104742&x=744',
		'title': '',
		'imageId': '70104742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104743&x=744',
		'title': '',
		'imageId': '70104743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104748&x=744',
		'title': '',
		'imageId': '70104748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104744&x=744',
		'title': '',
		'imageId': '70104744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104763&x=744',
		'title': '',
		'imageId': '70104763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104761&x=744',
		'title': '',
		'imageId': '70104761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104756&x=744',
		'title': '',
		'imageId': '70104756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104762&x=744',
		'title': '',
		'imageId': '70104762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104753&x=744',
		'title': '',
		'imageId': '70104753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104766&x=744',
		'title': '',
		'imageId': '70104766',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104771&x=744',
		'title': '',
		'imageId': '70104771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104782&x=744',
		'title': '',
		'imageId': '70104782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104776&x=744',
		'title': '',
		'imageId': '70104776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104777&x=744',
		'title': '',
		'imageId': '70104777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70149404&x=744',
		'title': '',
		'imageId': '70149404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104685&x=744',
		'title': '',
		'imageId': '70104685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015785&docid=70104683&x=744',
		'title': '',
		'imageId': '70104683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015785';

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