var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697324&x=233',
		'title': '',
		'imageId': '68697324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697342&x=233',
		'title': '',
		'imageId': '68697342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697340&x=233',
		'title': '',
		'imageId': '68697340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697341&x=233',
		'title': '',
		'imageId': '68697341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697337&x=233',
		'title': '',
		'imageId': '68697337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697350&x=233',
		'title': '',
		'imageId': '68697350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697352&x=233',
		'title': '',
		'imageId': '68697352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697312&x=233',
		'title': '',
		'imageId': '68697312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697349&x=233',
		'title': '',
		'imageId': '68697349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697347&x=233',
		'title': '',
		'imageId': '68697347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697313&x=233',
		'title': '',
		'imageId': '68697313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697329&x=233',
		'title': '',
		'imageId': '68697329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697321&x=233',
		'title': '',
		'imageId': '68697321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697318&x=233',
		'title': '',
		'imageId': '68697318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697319&x=233',
		'title': '',
		'imageId': '68697319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697322&x=233',
		'title': '',
		'imageId': '68697322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697326&x=233',
		'title': '',
		'imageId': '68697326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697325&x=233',
		'title': '',
		'imageId': '68697325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697330&x=233',
		'title': '',
		'imageId': '68697330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697328&x=233',
		'title': '',
		'imageId': '68697328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697332&x=233',
		'title': '',
		'imageId': '68697332',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697331&x=233',
		'title': '',
		'imageId': '68697331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697335&x=233',
		'title': '',
		'imageId': '68697335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697338&x=233',
		'title': '',
		'imageId': '68697338',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697336&x=233',
		'title': '',
		'imageId': '68697336',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697339&x=233',
		'title': '',
		'imageId': '68697339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697344&x=233',
		'title': '',
		'imageId': '68697344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697314&x=233',
		'title': '',
		'imageId': '68697314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697640&x=233',
		'title': '',
		'imageId': '68697640',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697351&x=233',
		'title': '',
		'imageId': '68697351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697327&x=233',
		'title': '',
		'imageId': '68697327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697333&x=233',
		'title': '',
		'imageId': '68697333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697642&x=233',
		'title': '',
		'imageId': '68697642',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697348&x=233',
		'title': '',
		'imageId': '68697348',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954938&docid=68697343&x=233',
		'title': '',
		'imageId': '68697343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954938';

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