var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651448&x=543',
		'title': '',
		'imageId': '68651448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651454&x=543',
		'title': '',
		'imageId': '68651454',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651451&x=543',
		'title': '',
		'imageId': '68651451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651452&x=543',
		'title': '',
		'imageId': '68651452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651450&x=543',
		'title': '',
		'imageId': '68651450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651449&x=543',
		'title': '',
		'imageId': '68651449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651477&x=543',
		'title': '',
		'imageId': '68651477',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651461&x=543',
		'title': '',
		'imageId': '68651461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651447&x=543',
		'title': '',
		'imageId': '68651447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651458&x=543',
		'title': '',
		'imageId': '68651458',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651455&x=543',
		'title': '',
		'imageId': '68651455',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651453&x=543',
		'title': '',
		'imageId': '68651453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651476&x=543',
		'title': '',
		'imageId': '68651476',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651480&x=543',
		'title': '',
		'imageId': '68651480',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651463&x=543',
		'title': '',
		'imageId': '68651463',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651459&x=543',
		'title': '',
		'imageId': '68651459',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651469&x=543',
		'title': '',
		'imageId': '68651469',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651474&x=543',
		'title': '',
		'imageId': '68651474',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651462&x=543',
		'title': '',
		'imageId': '68651462',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651460&x=543',
		'title': '',
		'imageId': '68651460',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651475&x=543',
		'title': '',
		'imageId': '68651475',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651481&x=543',
		'title': '',
		'imageId': '68651481',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651472&x=543',
		'title': '',
		'imageId': '68651472',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651468&x=543',
		'title': '',
		'imageId': '68651468',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651473&x=543',
		'title': '',
		'imageId': '68651473',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651471&x=543',
		'title': '',
		'imageId': '68651471',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651470&x=543',
		'title': '',
		'imageId': '68651470',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651464&x=543',
		'title': '',
		'imageId': '68651464',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651457&x=543',
		'title': '',
		'imageId': '68651457',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651467&x=543',
		'title': '',
		'imageId': '68651467',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651456&x=543',
		'title': '',
		'imageId': '68651456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651466&x=543',
		'title': '',
		'imageId': '68651466',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651465&x=543',
		'title': '',
		'imageId': '68651465',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651479&x=543',
		'title': '',
		'imageId': '68651479',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952991&docid=68651478&x=543',
		'title': '',
		'imageId': '68651478',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3952991';

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